From 561b81515638fae49579f1e3569cb267de29da4d Mon Sep 17 00:00:00 2001 From: chrisf Date: Tue, 10 Jul 2007 05:06:34 +0000 Subject: [PATCH] git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1153 993157c7-ee19-0410-b2c4-bb4e9862e678 --- OpenRa.Game/MainWindow.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRa.Game/MainWindow.cs b/OpenRa.Game/MainWindow.cs index 5f9b04751f..cfb72c703e 100644 --- a/OpenRa.Game/MainWindow.cs +++ b/OpenRa.Game/MainWindow.cs @@ -211,7 +211,6 @@ namespace OpenRa.Game effect.SetValue(scroll, scrollPos); - int batchCount = 0; foreach (KeyValuePair 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();