From 80e6919bfc3d775bd08332eb47e581cc05cf2ae1 Mon Sep 17 00:00:00 2001 From: Joe Drew Date: Wed, 29 Sep 2010 14:36:20 -0400 Subject: [PATCH] Back out bug 596303 for causing Tp regressions with OpenGL. a=backout --- gfx/thebes/GLContextProviderCGL.mm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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()) {