summaryrefslogtreecommitdiffstats
path: root/gpu/blink/webgraphicscontext3d_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/blink/webgraphicscontext3d_impl.cc')
-rw-r--r--gpu/blink/webgraphicscontext3d_impl.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gpu/blink/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc
index 0ef42a2..a3fc0ed 100644
--- a/gpu/blink/webgraphicscontext3d_impl.cc
+++ b/gpu/blink/webgraphicscontext3d_impl.cc
@@ -223,7 +223,11 @@ bool WebGraphicsContext3DImpl::insertSyncPoint(WGC3Dbyte* sync_token) {
return true;
}
-DELEGATE_TO_GL_3(reshapeWithScaleFactor, ResizeCHROMIUM, int, int, float)
+void WebGraphicsContext3DImpl::reshapeWithScaleFactor(int width,
+ int height,
+ float scale) {
+ gl_->ResizeCHROMIUM(width, height, scale, true);
+}
DELEGATE_TO_GL_4R(mapBufferSubDataCHROMIUM, MapBufferSubDataCHROMIUM, WGC3Denum,
WGC3Dintptr, WGC3Dsizeiptr, WGC3Denum, void*)