mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1157109 - Call eglSwapBuffers() when hwc does not exit r=mwu
This commit is contained in:
parent
78fb3c80ac
commit
5a4a957d58
@ -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