Bug 1157109 - Call eglSwapBuffers() when hwc does not exit r=mwu

This commit is contained in:
Sotaro Ikeda 2015-11-26 01:21:15 -08:00
parent 78fb3c80ac
commit 5a4a957d58

View File

@ -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;
}