summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/egl_xlib
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-04-17 07:05:24 -0400
committerZack Rusin <[email protected]>2009-04-17 07:11:16 -0400
commitee2a5f307a026c1c258d3f7616d46cc7230d77ce (patch)
tree4c80441647c87741f91991e478610dcfd175aa41 /src/gallium/winsys/egl_xlib
parent687f331a1ff0721d1a84c203eb7f721527a3f882 (diff)
egl: don't crash with one more khronos api
Diffstat (limited to 'src/gallium/winsys/egl_xlib')
-rw-r--r--src/gallium/winsys/egl_xlib/egl_xlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/egl_xlib/egl_xlib.c b/src/gallium/winsys/egl_xlib/egl_xlib.c
index 9ceb67d2ac7..68fe64a52e1 100644
--- a/src/gallium/winsys/egl_xlib/egl_xlib.c
+++ b/src/gallium/winsys/egl_xlib/egl_xlib.c
@@ -388,6 +388,7 @@ xlib_eglDestroyContext(_EGLDriver *drv, EGLDisplay dpy, EGLContext ctx)
/* API-dependent clean-up */
switch (context->Base.ClientAPI) {
case EGL_OPENGL_ES_API:
+ case EGL_OPENVG_API:
/* fall-through */
case EGL_OPENGL_API:
st_destroy_context(context->Context);