summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-20 10:19:51 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-20 10:19:51 -0600
commitcae4444fa179c9ed556f1d1d207967b4e72736e2 (patch)
treeaf4da19ccd5b1a264d5972b63742cca04a0b7cde /src/egl
parentd7a4d498e4fe2ba8036626bc97913370ad991fac (diff)
downloadexternal_mesa3d-cae4444fa179c9ed556f1d1d207967b4e72736e2.zip
external_mesa3d-cae4444fa179c9ed556f1d1d207967b4e72736e2.tar.gz
external_mesa3d-cae4444fa179c9ed556f1d1d207967b4e72736e2.tar.bz2
egl: default API should be ES
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/eglglobals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c
index 9a077ed..5da59af 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;
}