projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9514209
)
Only set R_MODE with NV_point_sprite
author
Alan Hourihane
<alanh@tungstengraphics.com>
Sun, 28 Oct 2007 20:07:37 +0000
(20:07 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Sun, 28 Oct 2007 20:07:37 +0000
(20:07 +0000)
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index 3199c9b426bfe6a2368efaf2bd4ac71141a14062..07ec285eeb7836b913e572d34abea9106b2decc2 100644
(file)
--- a/
src/mesa/main/attrib.c
+++ b/
src/mesa/main/attrib.c
@@
-1102,7
+1102,8
@@
_mesa_PopAttrib(void)
(GLint) point->CoordReplace[u]);
}
_mesa_set_enable(ctx, GL_POINT_SPRITE_NV,point->PointSprite);
- _mesa_PointParameteriNV(GL_POINT_SPRITE_R_MODE_NV,
+ if (ctx->Extensions.NV_point_sprite)
+ _mesa_PointParameteriNV(GL_POINT_SPRITE_R_MODE_NV,
ctx->Point.SpriteRMode);
_mesa_PointParameterfEXT(GL_POINT_SPRITE_COORD_ORIGIN,
(GLfloat)ctx->Point.SpriteOrigin);