summaryrefslogtreecommitdiff
path: root/src/egl/main/eglglobals.c
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/main/eglglobals.c
parentd7a4d498e4fe2ba8036626bc97913370ad991fac (diff)
egl: default API should be ES
Diffstat (limited to 'src/egl/main/eglglobals.c')
-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 9a077edbd7..5da59af91d 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;
}