mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 05:29:19 +00:00
engine: hdr to ldr conversion for HDR_TYPE_NONE
This commit is contained in:
@@ -1042,7 +1042,7 @@ void R_BuildCubemapSamples( int numIterations )
|
||||
}
|
||||
}
|
||||
|
||||
bool bSupportsHDR = g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE;
|
||||
bool bSupportsHDR = true; //g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE;
|
||||
|
||||
for( i = 0; i < pWorldModel->brush.pShared->m_nCubemapSamples; i++ )
|
||||
{
|
||||
@@ -1080,7 +1080,7 @@ void R_BuildCubemapSamples( int numIterations )
|
||||
return;
|
||||
}
|
||||
|
||||
iBSPPack->SetHDRMode( g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE );
|
||||
iBSPPack->SetHDRMode( true /*g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE*/ );
|
||||
|
||||
iBSPPack->LoadBSPFile( g_pFileSystem, cl.m_szLevelFileName );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user