summaryrefslogtreecommitdiffstats
path: root/core/jni/android_opengl_EGL14.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/jni/android_opengl_EGL14.cpp')
-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;