git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1153 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user