mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-08 18:01:45 +00:00
Fix these "may be used uninitialized in this function" errors with batching
This commit is contained in:
parent
468a9b96b7
commit
2b1b7b763f
1 changed files with 22 additions and 22 deletions
|
|
@ -283,13 +283,13 @@ void HWR_RenderBatches(void)
|
||||||
boolean stopFlag = false;
|
boolean stopFlag = false;
|
||||||
boolean changeState = false;
|
boolean changeState = false;
|
||||||
boolean changeShader = false;
|
boolean changeShader = false;
|
||||||
int nextShader;
|
int nextShader = 0;
|
||||||
boolean changeTexture = false;
|
boolean changeTexture = false;
|
||||||
GLMipmap_t *nextTexture;
|
GLMipmap_t *nextTexture = NULL;
|
||||||
boolean changePolyFlags = false;
|
boolean changePolyFlags = false;
|
||||||
FBITFIELD nextPolyFlags;
|
FBITFIELD nextPolyFlags = 0;
|
||||||
boolean changeSurfaceInfo = false;
|
boolean changeSurfaceInfo = false;
|
||||||
FSurfaceInfo nextSurfaceInfo;
|
FSurfaceInfo nextSurfaceInfo = {0};
|
||||||
|
|
||||||
// steps:
|
// steps:
|
||||||
// write vertices
|
// write vertices
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue