summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2008-10-30 10:10:58 +0800
committerXiang, Haihao <[email protected]>2008-10-30 10:40:51 +0800
commitbccc09e6bf98058b63fcff5856a71446ed1d4523 (patch)
tree232ffaf1bcec80816a580597a9f7223c4e1e64c0 /src/mesa/main/points.c
parent239ce2240af37e768e855680777872f6f4e7b71d (diff)
mesa: fix an issue in _mesa_PointParameterfv().
Diffstat (limited to 'src/mesa/main/points.c')
-rw-r--r--src/mesa/main/points.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index 7e189a0a8c9..0244b34aff5 100644
--- a/src/mesa/main/points.c
+++ b/src/mesa/main/points.c
@@ -200,7 +200,7 @@ _mesa_PointParameterfv( GLenum pname, const GLfloat *params)
}
break;
case GL_POINT_SPRITE_COORD_ORIGIN:
- if (ctx->Extensions.ARB_point_sprite) {
+ if (ctx->Extensions.ARB_point_sprite | ctx->Extensions.NV_point_sprite) {
GLenum value = (GLenum) params[0];
if (value != GL_LOWER_LEFT && value != GL_UPPER_LEFT) {
_mesa_error(ctx, GL_INVALID_VALUE,