summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger@gmx.ch>2005-10-05 13:09:15 +0000
committerRoland Scheidegger <rscheidegger@gmx.ch>2005-10-05 13:09:15 +0000
commitea20c324ae1dd6360ec88f83f95087ebbb79bd0d (patch)
treef6769cc1e8fff910eac919f52e85355bead15938 /src/mesa/drivers/dri/radeon
parent11f763f5057490477a2771febe8923682f6a5ada (diff)
fix typo in radeon_maos_arrays.c from last commit (code currently unused, that path is compile-tested only).
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_maos_arrays.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_maos_arrays.c b/src/mesa/drivers/dri/radeon/radeon_maos_arrays.c
index b2cd90c869..5aa77b8afa 100644
--- a/src/mesa/drivers/dri/radeon/radeon_maos_arrays.c
+++ b/src/mesa/drivers/dri/radeon/radeon_maos_arrays.c
@@ -540,7 +540,7 @@ void radeonEmitArrays( GLcontext *ctx, GLuint inputs )
vfmt |= RADEON_CP_VC_FRMT_ST0;
/* assume we need the 3rd coord if texgen is active for r/q OR at least 3
coords are submitted. This may not be 100% correct */
- if ( (VB->TexCoordPtr[0]->size >= 3) {
+ if (VB->TexCoordPtr[0]->size >= 3) {
vtx |= RADEON_TCL_VTX_Q0;
vfmt |= RADEON_CP_VC_FRMT_Q0;
}
@@ -565,7 +565,7 @@ void radeonEmitArrays( GLcontext *ctx, GLuint inputs )
count );
vfmt |= RADEON_CP_VC_FRMT_ST1;
- if ( (VB->TexCoordPtr[1]->size >= 3) {
+ if (VB->TexCoordPtr[1]->size >= 3) {
vtx |= RADEON_TCL_VTX_Q1;
vfmt |= RADEON_CP_VC_FRMT_Q1;
}