From f933737784bea4e27b70522cfd34ddaa45481d12 Mon Sep 17 00:00:00 2001 From: Takahiro Aizawa Date: Wed, 11 Dec 2013 19:22:26 +0900 Subject: EGL14.eglCreateWindowSurface should set producerControlledByApp Interface of Surface class changed. To reflect the change for EGL14, add producerControlledByApp flag. Similar change can be seen in 0fa257fe53bf520bdde93996a1901ce6bc3e1788 Change-Id: Ic8911d3131e033747cfdabe59ac2fea1e90bb4a0 --- core/jni/android_opengl_EGL14.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1