Module: Mesa Branch: master Commit: a83b01371e60356d2ed69c131bf9e0a0daba59a4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a83b01371e60356d2ed69c131bf9e0a0daba59a4
Author: Ian Romanick <[email protected]> Date: Wed Sep 5 14:04:13 2012 -0700 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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]> --- src/mesa/main/api_exec.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index c0dacab..1574261 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 */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
