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>
This commit is contained in:
Ashok Bhat 2014-02-13 10:48:02 +00:00
parent 913a17fd5f
commit 8e472fb443

View File

@ -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;