mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
Better fix for may be used uninitialized, maybe fixes GCC 4.x
This commit is contained in:
parent
06f76f07f4
commit
e5f704192e
1 changed files with 4 additions and 4 deletions
|
|
@ -215,9 +215,13 @@ void HWR_RenderBatches(void)
|
|||
int polygonReadPos = 0;// position in polygonIndexArray
|
||||
|
||||
int currentShader;
|
||||
int nextShader;
|
||||
GLMipmap_t *currentTexture;
|
||||
GLMipmap_t *nextTexture;
|
||||
FBITFIELD currentPolyFlags;
|
||||
FBITFIELD nextPolyFlags;
|
||||
FSurfaceInfo currentSurfaceInfo;
|
||||
FSurfaceInfo nextSurfaceInfo;
|
||||
|
||||
int i;
|
||||
|
||||
|
|
@ -283,13 +287,9 @@ void HWR_RenderBatches(void)
|
|||
boolean stopFlag = false;
|
||||
boolean changeState = false;
|
||||
boolean changeShader = false;
|
||||
int nextShader = 0;
|
||||
boolean changeTexture = false;
|
||||
GLMipmap_t *nextTexture = NULL;
|
||||
boolean changePolyFlags = false;
|
||||
FBITFIELD nextPolyFlags = 0;
|
||||
boolean changeSurfaceInfo = false;
|
||||
FSurfaceInfo nextSurfaceInfo = {0};
|
||||
|
||||
// steps:
|
||||
// write vertices
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue