mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
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:
parent
e01ffd58d0
commit
e020a18a88
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user