diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-06-19 16:06:56 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-06-19 16:26:20 -0600 |
commit | a8533d54930f8fa989036c197ad20b0778ec0cac (patch) | |
tree | 2a81ef505a2d34a5ca6c9134c50bbc5e4bf212a5 /src/egl/main/eglcontext.c | |
parent | 8d0329fb6af657a53cb010a3d7a8f4282e2715b8 (diff) |
egl: clean up prototype code, new _eglFindAPIs() function.
Diffstat (limited to 'src/egl/main/eglcontext.c')
-rw-r--r-- | src/egl/main/eglcontext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c index bf1addf241..15847ef2da 100644 --- a/src/egl/main/eglcontext.c +++ b/src/egl/main/eglcontext.c @@ -33,6 +33,8 @@ _eglInitContext(_EGLDriver *drv, EGLDisplay dpy, _EGLContext *ctx, return EGL_FALSE; } + ctx->ClientVersion = 1; /* the default, per EGL spec */ + for (i = 0; attrib_list && attrib_list[i] != EGL_NONE; i++) { switch (attrib_list[i]) { case EGL_CONTEXT_CLIENT_VERSION: |