Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob

This commit is contained in:
Jeff Gilbert
2011-12-16 14:24:46 -08:00
parent eec79c2595
commit 7cc4cdf00e
3 changed files with 0 additions and 12 deletions

View File

@@ -1140,10 +1140,6 @@ BasicCanvasLayer::UpdateSurface(gfxASurface* aDestSurface)
NS_ASSERTION(isurf->Stride() == mBounds.width * 4, "gfxImageSurface stride isn't what we expect!");
// We have to flush to ensure that any buffered GL operations are
// in the framebuffer before we read.
mGLContext->fFlush();
PRUint32 currentFramebuffer = 0;
mGLContext->fGetIntegerv(LOCAL_GL_FRAMEBUFFER_BINDING, (GLint*)&currentFramebuffer);