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 9a077ed..5da59af 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;
 }