From: Zack Rusin Date: Fri, 17 Apr 2009 11:05:24 +0000 (-0400) Subject: egl: don't crash with one more khronos api X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee2a5f307a026c1c258d3f7616d46cc7230d77ce;p=mesa.git egl: don't crash with one more khronos api --- 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);