summaryrefslogtreecommitdiff
path: root/src/egl/main/eglcurrent.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-08-17 15:53:54 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-29 18:33:53 +0800
commit27c1ec23348d55da55923f88ffb94268cbbb43b4 (patch)
treedb014e60bb3e053ffaea217fa09703f8fa6dc3da /src/egl/main/eglcurrent.c
parent607a4393e7489ed1da9808f117ecde6cb637accc (diff)
egl: Allow binding to any client API.
As a result, EGL_NONE is no longer a valid client API. And it is possible that no config supports the current bound API.
Diffstat (limited to 'src/egl/main/eglcurrent.c')
-rw-r--r--src/egl/main/eglcurrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglcurrent.c b/src/egl/main/eglcurrent.c
index 4431f964f6..ca7a077168 100644
--- a/src/egl/main/eglcurrent.c
+++ b/src/egl/main/eglcurrent.c
@@ -9,7 +9,7 @@
/* This should be kept in sync with _eglInitThreadInfo() */
#define _EGL_THREAD_INFO_INITIALIZER \
- { EGL_SUCCESS, { NULL }, 1 }
+ { EGL_SUCCESS, { NULL }, 0 }
/* a fallback thread info to guarantee that every thread always has one */
static _EGLThreadInfo dummy_thread = _EGL_THREAD_INFO_INITIALIZER;