Bug 962721. Handle the flip for CopyTexImage2D. r=bjacob

This fixes a regression from b75d69931d4a. This call to CopyTexImage2D was
forgotten during the move to handling the flip in the compositor.
This commit is contained in:
Jeff Muizelaar 2014-01-31 10:59:14 -05:00
parent e01ffd58d0
commit e020a18a88

View File

@ -909,7 +909,7 @@ CompositorOGL::CreateFBOWithTexture(const IntRect& aRect, bool aCopyFromSource,
mGLContext->fCopyTexImage2D(mFBOTextureTarget,
0,
LOCAL_GL_RGBA,
aRect.x, aRect.y,
aRect.x, FlipY(aRect.y + aRect.height),
aRect.width, aRect.height,
0);
} else {