mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
b=773071; more incorrect merge fixup for KHR_fence_sync; r=vlad
This commit is contained in:
parent
d52e2f827c
commit
b300f51d4b
@ -1059,6 +1059,7 @@ bool GLContextEGL::AttachSharedHandle(TextureImage::TextureShareType aType,
|
|||||||
NS_ASSERTION(mShareWithEGLImage, "EGLImage not supported or disabled in runtime");
|
NS_ASSERTION(mShareWithEGLImage, "EGLImage not supported or disabled in runtime");
|
||||||
|
|
||||||
EGLTextureWrapper* wrap = (EGLTextureWrapper*)aSharedHandle;
|
EGLTextureWrapper* wrap = (EGLTextureWrapper*)aSharedHandle;
|
||||||
|
wrap->WaitSync();
|
||||||
fEGLImageTargetTexture2D(LOCAL_GL_TEXTURE_2D, wrap->GetEGLImage());
|
fEGLImageTargetTexture2D(LOCAL_GL_TEXTURE_2D, wrap->GetEGLImage());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user