summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andy McFadden <fadden@android.com> 2014-03-07 17:43:40 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2014-03-07 17:43:40 +0000
commitcda61e95f6b600378ab64f43beb42dbbfa2f6a1a (patch)
treef1a2cf92c9d20403c1e9c1c0680c6f5ae8b48c84
parent111e981dc7f7d62647d6aa5e6c44cfd13af53608 (diff)
parentfaddd77a917dd423aee5fc64c056c8c2e0ce6f9a (diff)
am faddd77a: Merge "EGL14.eglCreateWindowSurface should set producerControlledByApp" into klp-dev
* commit 'faddd77a917dd423aee5fc64c056c8c2e0ce6f9a': EGL14.eglCreateWindowSurface should set producerControlledByApp
-rw-r--r--core/jni/android_opengl_EGL14.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_opengl_EGL14.cpp b/core/jni/android_opengl_EGL14.cpp
index 1fe4b08d9721..5b0a4b2e4039 100644
--- a/core/jni/android_opengl_EGL14.cpp
+++ b/core/jni/android_opengl_EGL14.cpp
@@ -630,7 +630,7 @@ not_valid_surface:
if (producer == NULL)
goto not_valid_surface;
- window = new android::Surface(producer);
+ window = new android::Surface(producer, true);
if (window == NULL)
goto not_valid_surface;