Mesa (9.0): mesa: Don't set dispatch pointer for glPointSize in ES2
Ian Romanick
idr at kemper.freedesktop.org
Fri Sep 28 18:06:53 UTC 2012
Module: Mesa
Branch: 9.0
Commit: bb16b471d28b575fe3e7346aa1d6dbefa9bf90cd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb16b471d28b575fe3e7346aa1d6dbefa9bf90cd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Sep 5 08:16:23 2012 -0700
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 <ian.d.romanick at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit aa129b0833052f613a6ec570aef092733769ee0e)
---
src/mesa/main/api_exec.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index c448189..12bb075 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -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);
}
More information about the mesa-commit
mailing list