diff options
author | John Reck <jreck@google.com> | 2014-09-17 16:06:36 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-09-17 16:09:57 -0700 |
commit | 2cdbc7d2283aae3d77b12c8fdbba8ca4bd3db5ea (patch) | |
tree | a129c07e75038b92257f5c6d16eb5dc13c79f8d6 /libs/hwui/renderthread/EglManager.h | |
parent | 9077cbc30e6c71c8d103ae44b0c30b765e42f66b (diff) |
Special case EGL_BAD_SURFACE
Bug: 17516789
Change-Id: I3dcb10360c2aef6326f7dbbff6815866d4c143b6
Diffstat (limited to 'libs/hwui/renderthread/EglManager.h')
-rw-r--r-- | libs/hwui/renderthread/EglManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/EglManager.h b/libs/hwui/renderthread/EglManager.h index a844cfcbe61c..71213fbf9343 100644 --- a/libs/hwui/renderthread/EglManager.h +++ b/libs/hwui/renderthread/EglManager.h @@ -47,7 +47,7 @@ public: // Returns true if the current surface changed, false if it was already current bool makeCurrent(EGLSurface surface); void beginFrame(EGLSurface surface, EGLint* width, EGLint* height); - void swapBuffers(EGLSurface surface); + bool swapBuffers(EGLSurface surface); bool enableDirtyRegions(EGLSurface surface); |