Mesa (master): mesa: fix an issue in _mesa_PointParameterfv().
Haihao Xiang
haihao at kemper.freedesktop.org
Thu Oct 30 02:38:57 UTC 2008
Module: Mesa
Branch: master
Commit: bccc09e6bf98058b63fcff5856a71446ed1d4523
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bccc09e6bf98058b63fcff5856a71446ed1d4523
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date: Thu Oct 30 10:10:58 2008 +0800
mesa: fix an issue in _mesa_PointParameterfv().
---
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 7e189a0..0244b34 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,
More information about the mesa-commit
mailing list