egl: add all EGL_*_BITs to ClientAPIsMask
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 10 Jul 2008 19:29:42 +0000 (13:29 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 10 Jul 2008 19:29:42 +0000 (13:29 -0600)
src/egl/drivers/xdri/egl_xdri.c

index 9d95c850d079682737024f538fa431017dd73f66..0f8496c0fba815ec696d8d125d9378a3d55c61fb 100644 (file)
@@ -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);