summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup/ss_vb.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-03-08 15:23:46 +0000
committerBrian Paul <[email protected]>2001-03-08 15:23:46 +0000
commit01915e90e6912f06d43d443a09157f7bbc96ddc5 (patch)
treefc86ff76a45027c01d45902bed894d12f161088c /src/mesa/swrast_setup/ss_vb.c
parenteac57f009ea347cfce0d70452c1bdeb0e6c9eeae (diff)
More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.
Diffstat (limited to 'src/mesa/swrast_setup/ss_vb.c')
-rw-r--r--src/mesa/swrast_setup/ss_vb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_vb.c b/src/mesa/swrast_setup/ss_vb.c
index 266a9dfca49..d69f0ed8fcd 100644
--- a/src/mesa/swrast_setup/ss_vb.c
+++ b/src/mesa/swrast_setup/ss_vb.c
@@ -26,6 +26,7 @@
*/
#include "glheader.h"
+#include "colormac.h"
#include "macros.h"
#include "swrast/swrast.h"
@@ -201,7 +202,7 @@ rs_invalid( GLcontext *ctx, GLuint start, GLuint end, GLuint newinputs )
void
_swsetup_vb_init( GLcontext *ctx )
{
- int i;
+ GLuint i;
(void) ctx;
for (i = 0 ; i < Elements(setup_func) ; i++)