Mesa (refs/remotes/origin/HEAD): mesa: fix a typo in the previous commit

Gary Wong gary at kemper.freedesktop.org
Fri Oct 31 21:39:17 UTC 2008


Module: Mesa
Branch: refs/remotes/origin/HEAD
Commit: 963071ffea2f03e39d73bc663fa079098d82bc66
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=963071ffea2f03e39d73bc663fa079098d82bc66

Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Fri Oct 31 09:24:27 2008 +0800

mesa: fix a typo in the previous commit

---

 src/mesa/main/points.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index 0244b34..1fe6970 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,




More information about the mesa-commit mailing list