GL3: Optimize

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 11 years ago
parent 424aa079a2
commit 21eca5af5f

@ -412,7 +412,8 @@ void CDriverGL3::touchLightVP(int i)
if (m_VPBuiltinCurrent.LightMode[i] != mode) if (m_VPBuiltinCurrent.LightMode[i] != mode)
{ {
m_VPBuiltinCurrent.LightMode[i] = mode; m_VPBuiltinCurrent.LightMode[i] = mode;
m_VPBuiltinTouched = true; if (m_VPBuiltinCurrent.Lighting)
m_VPBuiltinTouched = true;
} }
} }

Loading…
Cancel
Save