summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-08-19 18:14:15 -0600
committerKeith Whitwell <[email protected]>2008-09-21 22:13:57 -0700
commit6fd15dd80666ccb1e9b99cedd306e32cc7cee989 (patch)
tree0bf85d86b7151e53ddc921dbc8088eda6a8abe88 /src/mesa/main/points.c
parent1b7e90984511cfa47597c255d73ca416ddd2db6f (diff)
mesa: allow for extra per-context init
(cherry picked from commit 815cdcfbc0740c66b901361620c88d99541bdad2)
Diffstat (limited to 'src/mesa/main/points.c')
-rw-r--r--src/mesa/main/points.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index e450b151398..7e189a0a8c9 100644
--- a/src/mesa/main/points.c
+++ b/src/mesa/main/points.c
@@ -254,11 +254,7 @@ _mesa_init_point(GLcontext *ctx)
ctx->Point.MaxSize
= MAX2(ctx->Const.MaxPointSize, ctx->Const.MaxPointSizeAA);
ctx->Point.Threshold = 1.0;
-#if FEATURE_es2_glsl
- ctx->Point.PointSprite = GL_TRUE; /* GL_ARB/NV_point_sprite */
-#else
ctx->Point.PointSprite = GL_FALSE; /* GL_ARB/NV_point_sprite */
-#endif
ctx->Point.SpriteRMode = GL_ZERO; /* GL_NV_point_sprite (only!) */
ctx->Point.SpriteOrigin = GL_UPPER_LEFT; /* GL_ARB_point_sprite */
for (i = 0; i < MAX_TEXTURE_UNITS; i++) {