Optimize loop (thanks to cand)

This commit is contained in:
Daniel Butum 2014-07-04 13:09:46 +03:00
parent 27f2a18f37
commit 361d4dfade

View File

@ -112,10 +112,7 @@ IrrDriver::IrrDriver()
m_mipviz = m_wireframe = m_normals = m_ssaoviz = \
m_lightviz = m_shadowviz = m_distortviz = m_rsm = m_rh = m_gi = false;
SkyboxCubeMap = m_last_light_bucket_distance = 0;
for(unsigned int i = 0; i < PASS_COUNT; i++)
{
object_count[i] = 0;
}
memset(object_count, 0, sizeof(object_count));
} // IrrDriver
// ----------------------------------------------------------------------------