From: Ian Romanick Date: Wed, 5 Sep 2012 15:16:23 +0000 (-0700) Subject: mesa: Don't set dispatch pointer for glPointSize in ES2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa129b0833052f613a6ec570aef092733769ee0e;p=mesa.git mesa: Don't set dispatch pointer for glPointSize 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 1da041545ed..caa148c990b 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -259,11 +259,9 @@ _mesa_create_exec_table(struct gl_context *ctx) if (ctx->API != API_OPENGLES2) { SET_PixelStoref(exec, _mesa_PixelStoref); - } - SET_PointSize(exec, _mesa_PointSize); + SET_PointSize(exec, _mesa_PointSize); - if (ctx->API != API_OPENGLES2) { SET_PolygonMode(exec, _mesa_PolygonMode); }