egl: default API should be ES

This commit is contained in:
Brian Paul
2008-06-20 10:19:51 -06:00
parent d7a4d498e4
commit cae4444fa1

View File

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