summaryrefslogtreecommitdiff
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2008-10-31 09:24:27 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-10-31 09:24:27 +0800
commit963071ffea2f03e39d73bc663fa079098d82bc66 (patch)
treee80bf5c3edbe7e548dc7966d33def9dda2c1ae25 /src/mesa/main/points.c
parentbccc09e6bf98058b63fcff5856a71446ed1d4523 (diff)
mesa: fix a typo in the previous commit
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 0244b34aff..1fe697033f 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 | ctx->Extensions.NV_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,