summaryrefslogtreecommitdiffstats
path: root/ui/gfx/surface/accelerated_surface_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/surface/accelerated_surface_mac.cc')
-rw-r--r--ui/gfx/surface/accelerated_surface_mac.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gfx/surface/accelerated_surface_mac.cc b/ui/gfx/surface/accelerated_surface_mac.cc
index e3e74cb..cbbee4b 100644
--- a/ui/gfx/surface/accelerated_surface_mac.cc
+++ b/ui/gfx/surface/accelerated_surface_mac.cc
@@ -36,7 +36,8 @@ bool AcceleratedSurface::Initialize(gfx::GLContext* share_context,
if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL)
return false;
- gl_surface_ = gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1));
+ gl_surface_ = gfx::GLSurface::CreateOffscreenGLSurface(
+ false, gfx::Size(1, 1));
if (!gl_surface_.get()) {
Destroy();
return false;