summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_pointtemp.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-03-09 16:58:26 +0000
committerBrian Paul <[email protected]>2004-03-09 16:58:26 +0000
commit1e4731f6443a6efdfc4e425977490ddd5387caa3 (patch)
tree9b830c21e9fddf93a63b983a6570cab643e3e12e /src/mesa/swrast/s_pointtemp.h
parent7bcada8c278a17e6170e35f1aaf74dd88294ddc5 (diff)
Fix color index mode rendering.
Changed SWvertex's index field to GLfloat and fix a few other bits.
Diffstat (limited to 'src/mesa/swrast/s_pointtemp.h')
-rw-r--r--src/mesa/swrast/s_pointtemp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h
index 0ca137cd029..22f46f21b0d 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.0
+ * Version: 6.1
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@ -86,7 +86,7 @@ NAME ( GLcontext *ctx, const SWvertex *vert )
const GLchan specBlue = vert->specular[2];
#endif
#if FLAGS & INDEX
- const GLuint colorIndex = vert->index;
+ const GLuint colorIndex = (GLuint) vert->index; /* XXX round? */
#endif
#if FLAGS & TEXTURE
GLfloat texcoord[MAX_TEXTURE_COORD_UNITS][4];