summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-08-27 20:47:45 -0500
committerTim Angus <tim@ngus.net>2014-08-28 11:20:30 +0100
commitaa86d59cd98d027fee44be0571c1065927b1584c (patch)
treed0d50aab34d4c3190dccf83f61b4de9e58b7587d
parent1e7a9c1eaf163fb982753b0b75e70f0e2db37f81 (diff)
Remove a numIboIndexes=0 that is not read from GL2 tr_bsp.c
numIboIndexes is set to 0 inside the loop for each surface. Does not need to be set before loop.
-rw-r--r--src/renderergl2/tr_bsp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/renderergl2/tr_bsp.c b/src/renderergl2/tr_bsp.c
index 93302a46..e1a86331 100644
--- a/src/renderergl2/tr_bsp.c
+++ b/src/renderergl2/tr_bsp.c
@@ -3088,7 +3088,6 @@ void R_MergeLeafSurfaces(void)
R_IssuePendingRenderCommands();
// actually merge surfaces
- numIboIndexes = 0;
mergedSurfIndex = 0;
mergedSurf = s_worldData.mergedSurfaces;
for (i = 0; i < numWorldSurfaces; i++)