mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 09:00:31 +01:00
fix typo in radeon_maos_arrays.c from last commit (code currently unused, that path is compile-tested only).
This commit is contained in:
parent
11f763f505
commit
ea20c324ae
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue