aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2006-09-08 21:27:17 +0000
committerPatrice Mandin <[email protected]>2006-09-08 21:27:17 +0000
commitad0f65537695492a6651857d59d7bad27bae6c8b (patch)
tree830cc3033cce7df6dddeea6dd906bc1cb56926df /src/mesa/drivers/dri/nouveau
parent6f0388ec71aaab8673fe2facf6811259a9787797 (diff)
vert_copy_rgba macro
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_swtcl.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
index bbd674855cc..7f3d275c402 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
@@ -272,15 +272,7 @@ static struct {
color->alpha=(c)[3]; \
} while (0)
-#define VERT_COPY_RGBA( v0, v1 ) \
- do { \
- if (coloroffset) { \
- v0->f[coloroffset][0] = v1->f[coloroffset][0]; \
- v0->f[coloroffset][1] = v1->f[coloroffset][1]; \
- v0->f[coloroffset][2] = v1->f[coloroffset][2]; \
- v0->f[coloroffset][3] = v1->f[coloroffset][3]; \
- } \
- } while (0)
+#define VERT_COPY_RGBA( v0, v1 ) v0->ui[coloroffset] = v1->ui[coloroffset]
#define VERT_SET_SPEC( v, c ) \
do { \