egl: don't crash with one more khronos api
authorZack Rusin <zackr@vmware.com>
Fri, 17 Apr 2009 11:05:24 +0000 (07:05 -0400)
committerZack Rusin <zackr@vmware.com>
Fri, 17 Apr 2009 11:11:16 +0000 (07:11 -0400)
src/gallium/winsys/egl_xlib/egl_xlib.c

index 9ceb67d..68fe64a 100644 (file)
@@ -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);