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 f07b1e0424
commit ebd28b7690

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