mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06:00
VideoBackend: remove unused config vars.
No point to keeping around variables which are always "true".
This commit is contained in:
@ -100,7 +100,7 @@ void PixelShaderManager::SetConstants()
|
||||
s_bFogRangeAdjustChanged = false;
|
||||
}
|
||||
|
||||
if (g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting) // config check added because the code in here was crashing for me inside SetPSConstant4f
|
||||
if (g_ActiveConfig.bEnablePixelLighting) // config check added because the code in here was crashing for me inside SetPSConstant4f
|
||||
{
|
||||
if (nLightsChanged[0] >= 0)
|
||||
{
|
||||
@ -320,7 +320,7 @@ void PixelShaderManager::InvalidateXFRange(int start, int end)
|
||||
|
||||
void PixelShaderManager::SetMaterialColorChanged(int index, u32 color)
|
||||
{
|
||||
if (g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting)
|
||||
if (g_ActiveConfig.bEnablePixelLighting)
|
||||
{
|
||||
constants.pmaterials[index][0] = (color >> 24) & 0xFF;
|
||||
constants.pmaterials[index][1] = (color >> 16) & 0xFF;
|
||||
|
Reference in New Issue
Block a user