mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert
This commit is contained in:
parent
39ba96f24a
commit
63bb0e7ce6
@ -138,7 +138,7 @@ public:
|
||||
data.mSync = eglSync;
|
||||
data.mOwns = true;
|
||||
data.mSize = gfx::IntSize(mConfig.display_width, mConfig.display_height);
|
||||
data.mOriginPos = gl::OriginPos::TopLeft;
|
||||
data.mOriginPos = gl::OriginPos::BottomLeft;
|
||||
|
||||
layers::EGLImageImage* typedImg = static_cast<layers::EGLImageImage*>(img.get());
|
||||
typedImg->SetData(data);
|
||||
|
@ -61,7 +61,7 @@ GLImage::GetAsSourceSurface()
|
||||
|
||||
GLBlitHelper helper(sSnapshotContext);
|
||||
|
||||
helper.BlitImageToFramebuffer(this, size, fb.FB(), false);
|
||||
helper.BlitImageToFramebuffer(this, size, fb.FB(), true);
|
||||
|
||||
ScopedBindFramebuffer bind(sSnapshotContext, fb.FB());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user