From a83b01371e60356d2ed69c131bf9e0a0daba59a4 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 5 Sep 2012 14:04:13 -0700 Subject: [PATCH] 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 --- src/mesa/main/api_exec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.30.2