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 9ceb67d2ac7d5b5fdc61646df1b8715aa99f18df..68fe64a52e1b6d659ea485d0b8ba20aad6f226f1 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);