diff --git a/gfx/thebes/GLContextProviderCGL.mm b/gfx/thebes/GLContextProviderCGL.mm index c43de9f1dc1..cdd197343b4 100644 --- a/gfx/thebes/GLContextProviderCGL.mm +++ b/gfx/thebes/GLContextProviderCGL.mm @@ -343,10 +343,7 @@ GLContextProviderCGL::CreateForWindow(nsIWidget *aWidget) [context setView:childView]; // make the context transparent - GLint opaque = 0; - [context setValues:&opaque forParameter:NSOpenGLCPSurfaceOpacity]; - - nsRefPtr glContext = new GLContextCGL(ContextFormat(ContextFormat::BasicRGBA32), + nsRefPtr glContext = new GLContextCGL(ContextFormat(ContextFormat::BasicRGB24), shareContext, context); if (!glContext->Init()) {