From aa86d59cd98d027fee44be0571c1065927b1584c Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 27 Aug 2014 20:47:45 -0500 Subject: 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. --- src/renderergl2/tr_bsp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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++) -- cgit