From 63736723678ef30e7f90835cfbd48c520e39bf11 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Sat, 23 Aug 2003 00:12:46 +0000 Subject: Trivial changes to add support for GL_ARB_point_sprite, which is a subset of GL_NV_point_sprite (which was already supported). --- src/mesa/swrast/s_points.c | 2 +- src/mesa/swrast/s_pointtemp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast') diff --git a/src/mesa/swrast/s_points.c b/src/mesa/swrast/s_points.c index 1b5e502f41..096f8aa804 100644 --- a/src/mesa/swrast/s_points.c +++ b/src/mesa/swrast/s_points.c @@ -199,7 +199,7 @@ _swrast_choose_point( GLcontext *ctx ) if (ctx->RenderMode==GL_RENDER) { if (ctx->Point.PointSprite) { - /* GL_NV_point_sprite */ + /* GL_ARB_point_sprite / GL_NV_point_sprite */ /* XXX this might not be good enough */ if (ctx->Point._Attenuated) USE(atten_sprite_point); diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h index eda6cfe576..f21f4f634d 100644 --- a/src/mesa/swrast/s_pointtemp.h +++ b/src/mesa/swrast/s_pointtemp.h @@ -35,7 +35,7 @@ * SPECULAR = do separate specular color * LARGE = do points with diameter > 1 pixel * ATTENUATE = compute point size attenuation - * SPRITE = GL_NV_point_sprite + * SPRITE = GL_ARB_point_sprite / GL_NV_point_sprite * * Notes: LARGE and ATTENUATE are exclusive of each other. * TEXTURE requires RGBA -- cgit v1.2.3