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

This commit is contained in:
chrisf
2007-07-10 05:06:34 +00:00
parent 6b758aaa0d
commit 561b815156

View File

@@ -211,7 +211,6 @@ namespace OpenRa.Game
effect.SetValue(scroll, scrollPos);
int batchCount = 0;
foreach (KeyValuePair<Sheet, IndexBuffer> batch in drawBatches)
{
effect.SetTexture(texture, batch.Key.texture);
@@ -221,8 +220,6 @@ namespace OpenRa.Game
device.DrawIndexedPrimitives(PrimitiveType.TriangleList,
vertexBuffer.Size, batch.Value.Size / 3);
++batchCount;
}
effect.EndPass();