egl: default API should be ES
This commit is contained in:
@@ -49,7 +49,7 @@ _eglNewThreadInfo(void)
|
|||||||
if (t) {
|
if (t) {
|
||||||
t->CurrentContext = EGL_NO_CONTEXT;
|
t->CurrentContext = EGL_NO_CONTEXT;
|
||||||
t->LastError = EGL_SUCCESS;
|
t->LastError = EGL_SUCCESS;
|
||||||
t->CurrentAPI = EGL_NONE;
|
t->CurrentAPI = EGL_OPENGL_ES_API; /* default, per EGL spec */
|
||||||
}
|
}
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user