OSDN Git Service
Fix the GLES version number in the emulator encoder
The native code, emulator encoder and emulator decoder each keeps its
own GLES version number. Previously they are inconsistent when
EGL_CONTEXT_CLIENT_VERSION=3. In this patch, because our emulator
currently doesn't support GLES3, we return EGL_NO_CONTEXT with an
error code EGL_BAD_CONFIG when the user tries to use GLES 3.
In future when we impelment GLES3, please remmeber to change the
version number here, as well as those in native code and the emulator
decoder.
Release Note:
Report error code when setting up GLES3
Change-Id: I1d1083310d28bb57f42625daaed710711495a3ed