egl: default API should be ES
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 16:19:51 +0000 (10:19 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 16:19:51 +0000 (10:19 -0600)
src/egl/main/eglglobals.c

index 9a077edbd7c2204cf24f002d0c13701ed008eea8..5da59af91da4a4726b8f373b6a2b6a5bd0b99158 100644 (file)
@@ -49,7 +49,7 @@ _eglNewThreadInfo(void)
    if (t) {
       t->CurrentContext = EGL_NO_CONTEXT;
       t->LastError = EGL_SUCCESS;
-      t->CurrentAPI = EGL_NONE;
+      t->CurrentAPI = EGL_OPENGL_ES_API;  /* default, per EGL spec */
    }
    return t;
 }