summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/xdri
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-10 13:29:42 -0600
committerBrian Paul <[email protected]>2008-07-10 13:29:42 -0600
commitb101890c150d2ba17a42f5164f0de86914b9b28b (patch)
treeb6ccc27d63e22b3dd1be56f91dc984a93bfe0a04 /src/egl/drivers/xdri
parenta452e0cbdeacdeb60d957eb2ebd2647a3d7a3770 (diff)
egl: add all EGL_*_BITs to ClientAPIsMask
Diffstat (limited to 'src/egl/drivers/xdri')
-rw-r--r--src/egl/drivers/xdri/egl_xdri.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/drivers/xdri/egl_xdri.c b/src/egl/drivers/xdri/egl_xdri.c
index 9d95c850d07..0f8496c0fba 100644
--- a/src/egl/drivers/xdri/egl_xdri.c
+++ b/src/egl/drivers/xdri/egl_xdri.c
@@ -909,7 +909,10 @@ _eglMain(_EGLDisplay *disp, const char *args)
xdri_drv->Base.API.DestroySurface = xdri_eglDestroySurface;
xdri_drv->Base.API.SwapBuffers = xdri_eglSwapBuffers;
- xdri_drv->Base.ClientAPIsMask = EGL_OPENGL_BIT | EGL_OPENGL_ES_BIT;
+ xdri_drv->Base.ClientAPIsMask = (EGL_OPENGL_BIT |
+ EGL_OPENGL_ES_BIT |
+ EGL_OPENGL_ES2_BIT |
+ EGL_OPENVG_BIT);
xdri_drv->Base.Name = "X/DRI";
_eglLog(_EGL_DEBUG, "XDRI: main(%s)", args);