code cleanup: use checks for empty rather then size in the BGE
This commit is contained in:
@@ -359,7 +359,7 @@ void RAS_OpenGLRasterizer::ClearCachingInfo(void)
|
||||
|
||||
void RAS_OpenGLRasterizer::FlushDebugShapes()
|
||||
{
|
||||
if (!m_debugShapes.size())
|
||||
if (m_debugShapes.empty())
|
||||
return;
|
||||
|
||||
// DrawDebugLines
|
||||
|
Reference in New Issue
Block a user