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.
This commit is contained in:
1 parent
e5f54c584a
commit
f17f58705c
1 file changed
-1
@@ -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++)
|
||||
|
||||
Reference in new issue
Block a user