Don't try to draw nothing.

This commit is contained in:
Colby Klein
2011-02-27 20:47:11 -08:00
parent e1e7db4758
commit 5fe1ed811d
+1
View File
@@ -359,6 +359,7 @@ void BitmapText::DrawChars( bool bUseStrokeTexture )
start = end; start = end;
} }
if (!vertices.empty())
DISPLAY->DrawQuads( vertices[0], iNumVertsToDraw ); DISPLAY->DrawQuads( vertices[0], iNumVertsToDraw );
} }