code cleanup: use checks for empty rather then size in the BGE

This commit is contained in:
Campbell Barton
2012-10-07 12:28:19 +00:00
parent 35f0ded377
commit aedf450746
2 changed files with 4 additions and 4 deletions

View File

@@ -359,7 +359,7 @@ void RAS_OpenGLRasterizer::ClearCachingInfo(void)
void RAS_OpenGLRasterizer::FlushDebugShapes()
{
if (!m_debugShapes.size())
if (m_debugShapes.empty())
return;
// DrawDebugLines