mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Small performance fix
This commit is contained in:
parent
f330194d17
commit
c95419e1d9
1 changed files with 5 additions and 5 deletions
|
@ -4044,7 +4044,7 @@ void idRenderBackend::ShadowAtlasPass( const viewDef_t* _viewDef )
|
|||
|
||||
int shadowIndex = 0;
|
||||
idList<idVec2i> inputSizes;
|
||||
idStrList inputNames;
|
||||
//idStrList inputNames;
|
||||
|
||||
for( const viewLight_t* vLight = viewDef->viewLights; vLight != NULL; vLight = vLight->next )
|
||||
{
|
||||
|
@ -4102,10 +4102,10 @@ void idRenderBackend::ShadowAtlasPass( const viewDef_t* _viewDef )
|
|||
idVec2i size( shadowMapResolutions[ vLight->shadowLOD ], shadowMapResolutions[ vLight->shadowLOD ] );
|
||||
inputSizes.Append( size );
|
||||
|
||||
if( size.x >= 1024 )
|
||||
{
|
||||
inputNames.Append( lightShader->GetName() );
|
||||
}
|
||||
//if( size.x >= 1024 )
|
||||
//{
|
||||
// inputNames.Append( lightShader->GetName() );
|
||||
//}
|
||||
|
||||
shadowIndex++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue