mesa: fix a typo in the previous commit
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 31 Oct 2008 01:24:27 +0000 (09:24 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 31 Oct 2008 01:24:27 +0000 (09:24 +0800)
src/mesa/main/points.c

index 0244b34aff58b06102b307e678f890beb202368e..1fe697033f12638c2aa2dbc654e69ae389bdde82 100644 (file)
@@ -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,