diff options
author | Brian Paul <[email protected]> | 2002-04-19 00:42:20 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-04-19 00:42:20 +0000 |
commit | 6c5b7029b3b805ecfae310a6e5fef15a5609a521 (patch) | |
tree | adcb9c04a589cb3cb577e167ce97e3c1d89da3c3 | |
parent | a670c1280b78e6da3b298b61f623e4c733c6be94 (diff) |
added two (GLchan *) casts
-rw-r--r-- | src/mesa/swrast_setup/ss_vbtmp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast_setup/ss_vbtmp.h b/src/mesa/swrast_setup/ss_vbtmp.h index 01382d33541..bf39569c370 100644 --- a/src/mesa/swrast_setup/ss_vbtmp.h +++ b/src/mesa/swrast_setup/ss_vbtmp.h @@ -1,4 +1,4 @@ -/* $Id: ss_vbtmp.h,v 1.20 2002/01/06 03:54:12 brianp Exp $ */ +/* $Id: ss_vbtmp.h,v 1.21 2002/04/19 00:42:20 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -84,14 +84,14 @@ static void TAG(emit)(GLcontext *ctx, GLuint start, GLuint end, if (VB->ColorPtr[0]->Type != CHAN_TYPE) import_float_colors( ctx ); - color = VB->ColorPtr[0]->Ptr; + color = (GLchan *) VB->ColorPtr[0]->Ptr; color_stride = VB->ColorPtr[0]->StrideB; } if (IND & SPEC) { if (VB->SecondaryColorPtr[0]->Type != CHAN_TYPE) import_float_spec_colors( ctx ); - spec = VB->SecondaryColorPtr[0]->Ptr; + spec = (GLchan *) VB->SecondaryColorPtr[0]->Ptr; spec_stride = VB->SecondaryColorPtr[0]->StrideB; } if (IND & INDEX) { |