summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r--src/mesa/swrast_setup/ss_triangle.c4
-rw-r--r--src/mesa/swrast_setup/ss_tritmp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c
index 00876fe68d..1f46331be3 100644
--- a/src/mesa/swrast_setup/ss_triangle.c
+++ b/src/mesa/swrast_setup/ss_triangle.c
@@ -58,7 +58,7 @@ static void _swsetup_render_line_tri( GLcontext *ctx,
SWvertex *v2 = &verts[e2];
GLchan c[2][4];
GLchan s[2][4];
- GLuint i[2];
+ GLfloat i[2];
/* cull testing */
if (ctx->Polygon.CullFlag) {
@@ -117,7 +117,7 @@ static void _swsetup_render_point_tri( GLcontext *ctx,
SWvertex *v2 = &verts[e2];
GLchan c[2][4];
GLchan s[2][4];
- GLuint i[2];
+ GLfloat i[2];
/* cull testing */
if (ctx->Polygon.CullFlag) {
diff --git a/src/mesa/swrast_setup/ss_tritmp.h b/src/mesa/swrast_setup/ss_tritmp.h
index e1c2565c73..3465ad3912 100644
--- a/src/mesa/swrast_setup/ss_tritmp.h
+++ b/src/mesa/swrast_setup/ss_tritmp.h
@@ -37,7 +37,7 @@ static void TAG(triangle)(GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 )
GLuint facing = 0;
GLchan saved_color[3][4];
GLchan saved_spec[3][4];
- GLuint saved_index[3];
+ GLfloat saved_index[3];
v[0] = &verts[e0];
v[1] = &verts[e1];