Compare commits

...

1 Commits

Author SHA1 Message Date
c24836cddf "LightState_t" ordering fix 2024-10-19 21:10:08 +03:00

View File

@@ -36,8 +36,8 @@ struct LightState_t
{
int m_nNumLights;
bool m_bAmbientLight;
bool m_bStaticLightTexel;
bool m_bStaticLightVertex;
bool m_bStaticLightTexel;
inline int HasDynamicLight() { return (m_bAmbientLight || (m_nNumLights > 0)) ? 1 : 0; }
};