projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051cf9d
)
fixed compilation error
author
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 1 Nov 2004 07:40:53 +0000
(07:40 +0000)
committer
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 1 Nov 2004 07:40:53 +0000
(07:40 +0000)
src/mesa/tnl_dd/t_dd_vbtmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_vbtmp.h
b/src/mesa/tnl_dd/t_dd_vbtmp.h
index d8452f6f4398feb331752e698bcc5894ca950112..92dd8931c33b710e3e0e9e58222fd5560a4bc0b9 100644
(file)
--- 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); */