summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2014-01-31 01:26:14 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-01-31 01:26:15 +0000
commite05b7b50e234e8ed2471f5ad96bb3d715067e9f3 (patch)
tree91aa9e8aa243a04fc40b22ab3036afdc9978567c
parent0a1b64fe79f41eec5cebe8434ab30d93e2ea2724 (diff)
parentf933737784bea4e27b70522cfd34ddaa45481d12 (diff)
downloadframeworks_base-e05b7b50e234e8ed2471f5ad96bb3d715067e9f3.zip
frameworks_base-e05b7b50e234e8ed2471f5ad96bb3d715067e9f3.tar.gz
frameworks_base-e05b7b50e234e8ed2471f5ad96bb3d715067e9f3.tar.bz2
Merge "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 1fe4b08..5b0a4b2 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;