From: Brian Paul Date: Fri, 20 Jun 2008 16:19:51 +0000 (-0600) Subject: egl: default API should be ES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cae4444fa179c9ed556f1d1d207967b4e72736e2;p=mesa.git egl: default API should be ES --- diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c index 9a077edbd7c..5da59af91da 100644 --- a/src/egl/main/eglglobals.c +++ b/src/egl/main/eglglobals.c @@ -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; }