clean up return statements a bit more
This commit is contained in:
parent
9d626b6a12
commit
9e9d6fa52c
3 changed files with 4 additions and 9 deletions
|
@ -1668,7 +1668,7 @@ static void ComputeStageIteratorFunc( void )
|
|||
if ( shader.isSky )
|
||||
{
|
||||
shader.optimalStageIteratorFunc = RB_StageIteratorSky;
|
||||
goto done;
|
||||
return;
|
||||
}
|
||||
|
||||
if ( r_ignoreFastPath->integer )
|
||||
|
@ -1694,7 +1694,7 @@ static void ComputeStageIteratorFunc( void )
|
|||
if ( !shader.numDeforms )
|
||||
{
|
||||
shader.optimalStageIteratorFunc = RB_StageIteratorVertexLitTexture;
|
||||
goto done;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1720,16 +1720,12 @@ static void ComputeStageIteratorFunc( void )
|
|||
if ( shader.multitextureEnv )
|
||||
{
|
||||
shader.optimalStageIteratorFunc = RB_StageIteratorLightmappedMultitexture;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
done:
|
||||
return;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue