> > I applied and retested it, looks good. One pedantic little change to > the diff > that I missed is attached, it might avoid future problems. > Another version to fix a typo.
Henry
--- r128-dri-endianness.diff.orig Wed Jul 17 12:02:48 2002 +++ r128-dri-endianness.diff Wed Jul 17 12:03:34 2002 @@ -120,7 +120,7 @@ -} while (0) +#define VERT_SET_RGBA( v, c ) \ + do { \ -+ r128_color_t *vc = (r128_color_t *)&v->ui[coloroffset]; \ ++ r128_color_t *vc = (r128_color_t *)&(v)->ui[coloroffset]; \ + vc->blue = (c)[2]; \ + vc->green = (c)[1]; \ + vc->red = (c)[0]; \