[prev in list] [next in list] [prev in thread] [next in thread]
List: mesa3d-dev
Subject: [Mesa3d-dev] Re: [Mesa3d-cvs] CVS Update: Mesa (branch: trunk)
From: Andreas Stenglein <A.Stenglein () gmx ! net>
Date: 2004-10-29 16:25:52
Message-ID: 20041029182552.A5089 () buche ! local
[Download RAW message or body]
Am 2004.10.29 15:35:57 +0200 schrieb(en) Daniel Borca:
> CVSROOT: /cvs/mesa
> Module name: Mesa
> Repository: Mesa/src/mesa/tnl_dd/
> Changes by: dborca@gabe. 04/10/29 06:35:56
>
> Log message:
> make sure we don't generate random alpha
>
> Modified files:
> Mesa/src/mesa/tnl_dd/:
> t_dd_vbtmp.h
>
> Revision Changes Path
> 1.4 +12 -3 Mesa/src/mesa/tnl_dd/t_dd_vbtmp.h
>
>
i810, etc... doesn't compile any more, with this patch it compiles at least.
please check if this is right.
best regards,
Andreas Stenglein
Index: Mesa/src/mesa/tnl_dd/t_dd_vbtmp.h
===================================================================
RCS file: /cvs/mesa/Mesa/src/mesa/tnl_dd/t_dd_vbtmp.h,v
retrieving revision 1.4
diff -u -r1.4 t_dd_vbtmp.h
--- Mesa/src/mesa/tnl_dd/t_dd_vbtmp.h 29 Oct 2004 13:35:56 -0000 1.4
+++ Mesa/src/mesa/tnl_dd/t_dd_vbtmp.h 29 Oct 2004 17:25:21 -0000
@@ -344,7 +344,7 @@
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 @@
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); */
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&opĚk
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic