Fix these "may be used uninitialized in this function" errors with batching
This commit is contained in:
parent
3dd89f67fa
commit
2abdc86537
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue