projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba999b1
)
pass color index as float, not int
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 21 Apr 2006 02:44:35 +0000
(
02:44
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 21 Apr 2006 02:44:35 +0000
(
02:44
+0000)
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index 4fe1bfddcc92a9e43847e5b4a73f3c13ff96a767..790cace05cdf2ba40205d92d1d57479eb6fe6e57 100644
(file)
--- 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_Index
i(ctx->Exec, ((GLint)
x));
+ CALL_Index
f(ctx->Exec, (
x));
}
}
@@
-6527,7
+6527,7
@@
execute_list(GLcontext *ctx, GLuint list)
}
break;
case OPCODE_INDEX:
- CALL_Index
i(ctx->Exec, (n[1].i
));
+ CALL_Index
f(ctx->Exec, (n[1].f
));
break;
case OPCODE_EDGEFLAG:
CALL_EdgeFlag(ctx->Exec, (n[1].b));