Merge "fix typo that prevented proper loging of EGL error code" into jb-mr1-dev
This commit is contained in:
commit
0acb00c2d7
@ -233,7 +233,7 @@ void DisplayDevice::swapBuffers(HWComposer& hwc) const {
|
|||||||
if (error == EGL_CONTEXT_LOST ||
|
if (error == EGL_CONTEXT_LOST ||
|
||||||
mType == DisplayDevice::DISPLAY_PRIMARY) {
|
mType == DisplayDevice::DISPLAY_PRIMARY) {
|
||||||
LOG_ALWAYS_FATAL("eglSwapBuffers(%p, %p) failed with 0x%08x",
|
LOG_ALWAYS_FATAL("eglSwapBuffers(%p, %p) failed with 0x%08x",
|
||||||
mDisplay, mSurface, eglGetError());
|
mDisplay, mSurface, error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user