Skip to content

Instantly share code, notes, and snippets.

@neonux
Created September 27, 2011 21:55
Show Gist options
  • Save neonux/1246361 to your computer and use it in GitHub Desktop.
Save neonux/1246361 to your computer and use it in GitHub Desktop.
diff --git a/gfx/thebes/nsCoreAnimationSupport.mm b/gfx/thebes/nsCoreAnimationSupport.mm
index 3f85894..ca16498 100644
--- a/gfx/thebes/nsCoreAnimationSupport.mm
+++ b/gfx/thebes/nsCoreAnimationSupport.mm
@@ -451,6 +451,7 @@ nsresult nsCARenderer::SetupRenderer(void *aCALayer, int aWidth, int aHeight) {
CARenderer* caRenderer = nsnull;
CGLPixelFormatAttribute attributes[] = {
+ kCGLPFANoRecovery,
kCGLPFAAccelerated,
kCGLPFAAllowOfflineRenderers,
kCGLPFADepthSize, (CGLPixelFormatAttribute)24,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment