Merge "fix typo that prevented proper loging of EGL error code" into jb-mr1-dev

This commit is contained in:
Mathias Agopian 2012-10-09 16:52:37 -07:00 committed by Android (Google) Code Review
commit 0acb00c2d7

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