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 0fa257fe53

Change-Id: Ic8911d3131e033747cfdabe59ac2fea1e90bb4a0
This commit is contained in:
Takahiro Aizawa
2013-12-11 19:22:26 +09:00
committed by Takeshi Aimi
parent c978799c4a
commit f933737784

View File

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