From c3912b66abb23ce2db00723a4cb79ac84ae4a086 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 13 Sep 2004 19:58:27 +0000 Subject: Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*(). Define 2.0 point-sprite related tokens in glheader.h (temporary). --- src/mesa/swrast/s_pointtemp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_pointtemp.h') diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h index 1cfdf002af..de940b355c 100644 --- a/src/mesa/swrast/s_pointtemp.h +++ b/src/mesa/swrast/s_pointtemp.h @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.2 * * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * @@ -293,11 +293,9 @@ NAME ( GLcontext *ctx, const SWvertex *vert ) if (ctx->Point.CoordReplace[u]) { GLfloat s = 0.5F + (x + 0.5F - vert->win[0]) / size; GLfloat t; -#if GL_VERSION_2_0 if (ctx->Point.SpriteOrigin == GL_LOWER_LEFT) t = 0.5F + (y + 0.5F - vert->win[1]) / size; else /* GL_UPPER_LEFT */ -#endif t = 0.5F - (y + 0.5F - vert->win[1]) / size; span->array->texcoords[u][count][0] = s; span->array->texcoords[u][count][1] = t; -- cgit v1.2.3