mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
engine: fix hdr to ldr conversion
This commit is contained in:
@@ -1491,7 +1491,7 @@ void CDetailObjectSystem::LevelInitPreEntity()
|
||||
}
|
||||
|
||||
int detailPropLightingLump;
|
||||
if( g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE )
|
||||
if( g_pMaterialSystemHardwareConfig->GetHDREnabled() )
|
||||
{
|
||||
detailPropLightingLump = GAMELUMP_DETAIL_PROP_LIGHTING_HDR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user