diff options
author | Mathias Agopian <mathias@google.com> | 2012-10-09 16:43:50 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-10-09 16:44:48 -0700 |
commit | b8fc00bfb41a61aeda186eec8f14522ff32f23f8 (patch) | |
tree | af17845642c271c33ed03432553dac2dc6dbb1e9 /services | |
parent | 45778999c705683ec0fcca3e90c7e9969e081d93 (diff) | |
download | frameworks_native-b8fc00bfb41a61aeda186eec8f14522ff32f23f8.zip frameworks_native-b8fc00bfb41a61aeda186eec8f14522ff32f23f8.tar.gz frameworks_native-b8fc00bfb41a61aeda186eec8f14522ff32f23f8.tar.bz2 |
fix typo that prevented proper loging of EGL error code
needed for investigating 7309949
Bug: 7309949
Change-Id: If29a5c08d0e87f46b44ba2e1030be61cb4d1403b
Diffstat (limited to 'services')
-rw-r--r-- | services/surfaceflinger/DisplayDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayDevice.cpp b/services/surfaceflinger/DisplayDevice.cpp index ff1af83..40631ee 100644 --- a/services/surfaceflinger/DisplayDevice.cpp +++ b/services/surfaceflinger/DisplayDevice.cpp @@ -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); } } } |