fix typo that prevented proper loging of EGL error code

needed for investigating 7309949

Bug: 7309949
Change-Id: If29a5c08d0e87f46b44ba2e1030be61cb4d1403b
This commit is contained in:
Mathias Agopian 2012-10-09 16:43:50 -07:00
parent 45778999c7
commit b8fc00bfb4

View File

@ -233,7 +233,7 @@ void DisplayDevice::swapBuffers(HWComposer& hwc) const {
if (error == EGL_CONTEXT_LOST ||
mType == DisplayDevice::DISPLAY_PRIMARY) {
LOG_ALWAYS_FATAL("eglSwapBuffers(%p, %p) failed with 0x%08x",
mDisplay, mSurface, eglGetError());
mDisplay, mSurface, error);
}
}
}