Index: ui/gl/gl_surface_ozone.cc |
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc |
index c136787f87dcdfbfaec69e68bfd3ec7edf46b81d..d71867cf53e48091efd5d18fa6d5ae694840a0a9 100644 |
--- a/ui/gl/gl_surface_ozone.cc |
+++ b/ui/gl/gl_surface_ozone.cc |
@@ -154,7 +154,8 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface( |
const gfx::Size& size) { |
switch (GetGLImplementation()) { |
case kGLImplementationOSMesaGL: { |
- scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(1, size)); |
+ scoped_refptr<GLSurface> surface( |
+ new GLSurfaceOSMesa(OSMesaSurfaceFormatBGRA, size)); |
if (!surface->Initialize()) |
return NULL; |