summaryrefslogtreecommitdiffstats
path: root/opengl/tools
diff options
context:
space:
mode:
authorAshok Bhat <ashok.bhat@arm.com>2014-02-13 10:48:02 +0000
committerAshok Bhat <ashok.bhat@arm.com>2014-02-20 19:33:15 +0000
commit8e472fb4430c44f7d5b3f5c85a96516cfb762f88 (patch)
tree65357c7c6b2e126418f8a20fc88252e83f97edae /opengl/tools
parent913a17fd5f8cabbc73ff46db15b4b53b9aeba7b8 (diff)
downloadframeworks_native-8e472fb4430c44f7d5b3f5c85a96516cfb762f88.zip
frameworks_native-8e472fb4430c44f7d5b3f5c85a96516cfb762f88.tar.gz
frameworks_native-8e472fb4430c44f7d5b3f5c85a96516cfb762f88.tar.bz2
Update EGL codegen to be in sync with frameworks/base
Patch from Takeshi Aimi with commit-id f9337377 changed core/jni/android_opengl_EGL14.cpp in the frameworks/base. However the corresponding code snippet in frameworks/ native was not updated. This patch addresses the issue. Change-Id: I40bcc43d36d7ab4e0db4a73556a4f7480c7431c1 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'opengl/tools')
-rw-r--r--opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp b/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp
index 0cfd886..0b6bf58 100644
--- a/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp
+++ b/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp
@@ -116,7 +116,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;