summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_imm_eval.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-09-17 03:46:34 +0000
committerBrian Paul <[email protected]>2003-09-17 03:46:34 +0000
commit5543901b96660b467549b09265bd9ff35aff4af5 (patch)
tree232cfa6076ae89dd5702dbfc87f2a77dec676064 /src/mesa/tnl/t_imm_eval.c
parent84351999ec6ad07e0cfc31c0b3a8c86da4134bfe (diff)
new casts
Diffstat (limited to 'src/mesa/tnl/t_imm_eval.c')
-rw-r--r--src/mesa/tnl/t_imm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_imm_eval.c b/src/mesa/tnl/t_imm_eval.c
index ee906fc3069..8411d7da470 100644
--- a/src/mesa/tnl/t_imm_eval.c
+++ b/src/mesa/tnl/t_imm_eval.c
@@ -546,7 +546,7 @@ void _tnl_eval_immediate( GLcontext *ctx, struct immediate *IM )
tmp->Color.StrideB,
copycount );
- tmp->Color.Ptr = store->Attrib[VERT_ATTRIB_COLOR0] + IM->CopyStart;
+ tmp->Color.Ptr = (GLubyte *) (store->Attrib[VERT_ATTRIB_COLOR0] + IM->CopyStart);
tmp->Color.StrideB = 4 * sizeof(GLfloat);
tmp->Color.Flags = 0;
tnl->vb.importable_data &= ~VERT_BIT_COLOR0;