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 17:14:53 +0000 (10:14 -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>
(cherry picked from commit aa129b0833052f613a6ec570aef092733769ee0e)

src/mesa/main/api_exec.c

index c448189..12bb075 100644 (file)
@@ -277,11 +277,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);
    }