summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-11-01 07:40:53 +0000
committerDaniel Borca <[email protected]>2004-11-01 07:40:53 +0000
commit3c17d73c87ca2dc49487a9ab26c0d654e404b782 (patch)
tree6193977596cefac66ccc2a089068f8167ced1617 /src/mesa
parent051cf9df6a729fcac37e054fd0632521e990c3ae (diff)
fixed compilation error
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl_dd/t_dd_vbtmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl_dd/t_dd_vbtmp.h b/src/mesa/tnl_dd/t_dd_vbtmp.h
index d8452f6f439..92dd8931c33 100644
--- a/src/mesa/tnl_dd/t_dd_vbtmp.h
+++ b/src/mesa/tnl_dd/t_dd_vbtmp.h
@@ -344,7 +344,7 @@ static void TAG(emit)( GLcontext *ctx, GLuint start, GLuint end,
LOCALVARS
struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
GLfloat (*col)[4];
- GLuint col_stride;
+ GLuint col_stride, col_size;
GLfloat (*coord)[4] = VB->NdcPtr->data;
GLuint coord_stride = VB->NdcPtr->stride;
GLfloat *v = (GLfloat *)dest;
@@ -358,6 +358,7 @@ static void TAG(emit)( GLcontext *ctx, GLuint start, GLuint end,
col = VB->ColorPtr[0]->data;
col_stride = VB->ColorPtr[0]->stride;
+ col_size = VB->ColorPtr[0]->size;
/* fprintf(stderr, "%s(small) importable %x\n", */
/* __FUNCTION__, VB->importable_data); */