git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1205 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-13 15:22:38 +00:00
parent b0213cb005
commit 9262c15cf2
2 changed files with 4 additions and 1 deletions

View File

@@ -48,6 +48,9 @@ namespace OpenRa.Game
y += 48;
}
if (vertices.Count == 0)
return;
renderer.DrawWithShader(ShaderQuality.Low, delegate
{
vertexBuffer.SetData(vertices.ToArray());