summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-04-21 02:44:35 +0000
committerBrian Paul <[email protected]>2006-04-21 02:44:35 +0000
commitb87957d59ab961a91b5151fc8af17464a6a8edef (patch)
tree556d0132cf6322f7e5bf2f9858861a577030162f /src
parentba999b1a3ff874714f90ad23f14effa6fcceee8a (diff)
pass color index as float, not int
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/dlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 4fe1bfddcc9..790cace05cd 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -5037,7 +5037,7 @@ save_Indexf(GLfloat x)
ctx->ListState.CurrentIndex = x;
if (ctx->ExecuteFlag) {
- CALL_Indexi(ctx->Exec, ((GLint) x));
+ CALL_Indexf(ctx->Exec, (x));
}
}
@@ -6527,7 +6527,7 @@ execute_list(GLcontext *ctx, GLuint list)
}
break;
case OPCODE_INDEX:
- CALL_Indexi(ctx->Exec, (n[1].i));
+ CALL_Indexf(ctx->Exec, (n[1].f));
break;
case OPCODE_EDGEFLAG:
CALL_EdgeFlag(ctx->Exec, (n[1].b));