GL3: Optimize

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

@ -412,6 +412,7 @@ 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;
if (m_VPBuiltinCurrent.Lighting)
m_VPBuiltinTouched = true; m_VPBuiltinTouched = true;
} }
} }

Loading…
Cancel
Save