Module: Mesa
Branch: master
Commit: ee2a5f307a026c1c258d3f7616d46cc7230d77ce
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee2a5f307a026c1c258d3f7616d46cc7230d77ce

Author: Zack Rusin <za...@vmware.com>
Date:   Fri Apr 17 07:05:24 2009 -0400

egl: don't crash with one more khronos api

---

 src/gallium/winsys/egl_xlib/egl_xlib.c |    1 +
 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 9ceb67d..68fe64a 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);

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to