mesa: Don't set dispatch pointer for glPointSize in ES2
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 5 Sep 2012 15:16:23 +0000 (08:16 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 28 Sep 2012 15:19:53 +0000 (08:19 -0700)
NOTE: This is a candidate for the 9.0 branch

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/api_exec.c

index 1da041545eddeb6a21e32b71c95cc8db98cbf870..caa148c990b791f6371a1c456f0c3fa1ecfd46e2 100644 (file)
@@ -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);
    }