Fix these "may be used uninitialized in this function" errors with batching

This commit is contained in:
Steel Titanium 2020-06-08 20:18:32 -04:00
parent 3dd89f67fa
commit 2abdc86537
1 changed files with 22 additions and 22 deletions

View File

@ -283,13 +283,13 @@ void HWR_RenderBatches(void)
boolean stopFlag = false;
boolean changeState = false;
boolean changeShader = false;
int nextShader;
int nextShader = 0;
boolean changeTexture = false;
GLMipmap_t *nextTexture;
GLMipmap_t *nextTexture = NULL;
boolean changePolyFlags = false;
FBITFIELD nextPolyFlags;
FBITFIELD nextPolyFlags = 0;
boolean changeSurfaceInfo = false;
FSurfaceInfo nextSurfaceInfo;
FSurfaceInfo nextSurfaceInfo = {0};
// steps:
// write vertices