From f17f58705ccf4bcf94684aa75576ad61a69ce0dd Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 27 Aug 2014 20:47:45 -0500 Subject: [PATCH] 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. --- code/renderergl2/tr_bsp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/code/renderergl2/tr_bsp.c b/code/renderergl2/tr_bsp.c index 25603af3..24ab61fb 100644 --- a/code/renderergl2/tr_bsp.c +++ b/code/renderergl2/tr_bsp.c @@ -3087,7 +3087,6 @@ void R_MergeLeafSurfaces(void) R_IssuePendingRenderCommands(); // actually merge surfaces - numIboIndexes = 0; mergedSurfIndex = 0; mergedSurf = s_worldData.mergedSurfaces; for (i = 0; i < numWorldSurfaces; i++)