From 3675c89168dfa3b2d4f13ec1adfb0dd28867dabc Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Wed, 24 Oct 2012 18:17:00 +0200 Subject: [PATCH] Bug 805002 - Flush accelerated Quartz canvas before GL composition. r=BenWa --- gfx/layers/opengl/CanvasLayerOGL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/layers/opengl/CanvasLayerOGL.cpp b/gfx/layers/opengl/CanvasLayerOGL.cpp index 40347e73336..7aa4d1224e7 100644 --- a/gfx/layers/opengl/CanvasLayerOGL.cpp +++ b/gfx/layers/opengl/CanvasLayerOGL.cpp @@ -225,6 +225,7 @@ CanvasLayerOGL::UpdateSurface() mTextureTarget = LOCAL_GL_TEXTURE_RECTANGLE_ARB; mLayerProgram = gl::RGBARectLayerProgramType; } + mDrawTarget->Flush(); return; } #endif