diff options
author | Brian Paul <[email protected]> | 2006-01-30 00:10:55 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-01-30 00:10:55 +0000 |
commit | b2006a40eb22899d38cd31691640555228e36975 (patch) | |
tree | 4a54cd2f8b638936f7f24d842ab34106a6094a80 /src/egl/main/eglcontext.c | |
parent | daf3093f28353b27d277da4406324fbc41676a5b (diff) |
some initial EGL 1.2 work
Diffstat (limited to 'src/egl/main/eglcontext.c')
-rw-r--r-- | src/egl/main/eglcontext.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c index 07b63e9b112..374c006dae7 100644 --- a/src/egl/main/eglcontext.c +++ b/src/egl/main/eglcontext.c @@ -160,6 +160,11 @@ _eglQueryContext(_EGLDriver *drv, EGLDisplay dpy, EGLContext ctx, case EGL_CONFIG_ID: *value = GET_CONFIG_ATTRIB(c->Config, EGL_CONFIG_ID); return EGL_TRUE; +#ifdef EGL_VERSION_1_2 + case EGL_CONTEXT_CLIENT_TYPE: + *value = c->ClientAPI; + return EGL_FALSE; +#endif /* EGL_VERSION_1_2 */ default: _eglError(EGL_BAD_ATTRIBUTE, "eglQueryContext"); return EGL_FALSE; |