From: Ian Romanick Date: Wed, 5 Sep 2012 21:04:13 +0000 (-0700) Subject: mesa: Don't set dispatch pointer for glResizeBuffersMESA in ES2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a83b01371e60356d2ed69c131bf9e0a0daba59a4;p=mesa.git mesa: Don't set dispatch pointer for glResizeBuffersMESA in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index c0dacab1e45..1574261a1c2 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -458,7 +458,9 @@ _mesa_create_exec_table(struct gl_context *ctx) /* 196. GL_MESA_resize_buffers */ #if _HAVE_FULL_GL - SET_ResizeBuffersMESA(exec, _mesa_ResizeBuffersMESA); + if (_mesa_is_desktop_gl(ctx)) { + SET_ResizeBuffersMESA(exec, _mesa_ResizeBuffersMESA); + } #endif /* 197. GL_MESA_window_pos */