summaryrefslogtreecommitdiff
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-09-13 08:47:01 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-09-13 08:47:01 +0000
commita9ea1628da5f17274cd7ee023f438046dc992073 (patch)
tree23bcf6e863b2e02e9967534aae683b8e93fe992d /src/mesa/main/attrib.c
parente54464e9d3035e3f785bcfaf924e947b522427d6 (diff)
changes towards GL_ARB_point_sprite (two-zero)
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 339c40b9bd..dabb622ce0 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1017,6 +1017,10 @@ _mesa_PopAttrib(void)
_mesa_set_enable(ctx, GL_POINT_SPRITE_NV,point->PointSprite);
_mesa_PointParameteriNV(GL_POINT_SPRITE_R_MODE_NV,
ctx->Point.SpriteRMode);
+#if GL_VERSION_2_0
+ _mesa_PointParameterfEXT(GL_POINT_SPRITE_COORD_ORIGIN,
+ (GLfloat)ctx->Point.SpriteOrigin);
+#endif
}
}
break;