I'm using your http://penguinppc.org/~daenzer/DRI/r200-attenuation-2.diff patch
So am I; BTW, does everyone agree it's better than the first cut?
Yep.
Index: r200_state.c
===================================================================
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r200/r200_state.c,v
retrieving revision 1.6
diff -p -u -r1.6 r200_state.c
--- r200_state.c 27 Dec 2003 22:06:39 -0000 1.6
+++ r200_state.c 22 Jan 2004 01:19:50 -0000
@@ -963,7 +970,7 @@ void r200UpdateMaterial( GLcontext *ctx fcmd[MTL_SHININESS] = mat[MAT_ATTRIB_FRONT_SHININESS][0];
}
- if (R200_DB_STATECHANGE( rmesa, &rmesa->hw.mtl[0] )) {
+ if (R200_DB_STATECHANGE( rmesa, &rmesa->hw.mtl[0] ) || 1) {
for (p = 0 ; p < MAX_LIGHTS; p++) update_light_colors( ctx, p );
It'd be interesting to know why update_light_colors was required here (ie what state changes it was picking up on if not the material ones). Otherwise, looks good.
Keith
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel