projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
239ce22
)
mesa: fix an issue in _mesa_PointParameterfv().
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 30 Oct 2008 02:10:58 +0000
(10:10 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 30 Oct 2008 02:40:51 +0000
(10:40 +0800)
src/mesa/main/points.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/points.c
b/src/mesa/main/points.c
index 7e189a0a8c9dcec51e193c11d9337309d453d5fb..0244b34aff58b06102b307e678f890beb202368e 100644
(file)
--- 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,