mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1157109 - Call eglSwapBuffers() when hwc does not exit r=mwu
This commit is contained in:
parent
f07b1e0424
commit
ebd28b7690
@ -171,6 +171,9 @@ GonkDisplayICS::SwapBuffers(EGLDisplay dpy, EGLSurface sur)
|
||||
mFBSurface->compositionComplete();
|
||||
|
||||
if (!mHwc) {
|
||||
if (sur != EGL_NO_SURFACE) {
|
||||
return eglSwapBuffers(dpy, sur);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user