commit | 35a7f351305854e03c77b5c4ff7bcc1efc8e0ece | [log] [tgz] |
---|---|---|
author | Stuart Scott <stuartscott@google.com> | Thu Nov 14 23:27:17 2013 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Nov 14 23:27:17 2013 +0000 |
tree | dc351ce4e0c08217a2859fbf46bf8cbe51978b50 | |
parent | cb82bc97ccba2858fd072bc38432d54956309778 [diff] | |
parent | dfdff8d6f20cbf2ff289241c2135c137eeedd160 [diff] |
Merge "Destroying sync fence to prevent leaks." into klp-dev
diff --git a/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/ContextSwitchRenderer.cpp b/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/ContextSwitchRenderer.cpp index 171f8fe..7fd4093 100644 --- a/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/ContextSwitchRenderer.cpp +++ b/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/ContextSwitchRenderer.cpp
@@ -216,6 +216,8 @@ } } + eglDestroySyncKHR(mEglDisplay, fence); + // Switch back to the main context. eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); if (mOffscreen) {