Initialise these to 0 just to stop GCC 4.4 from complaining.

This should be okay since 0 generally means "nothing" for these, and they should always be set before being used later on.
This commit is contained in:
Sryder 2020-05-20 11:47:22 +01:00
parent c70cf4806b
commit 66930a0277

View file

@ -2002,11 +2002,11 @@ EXPORT void HWRAPI(RenderBatches) (int *sNumPolys, int *sNumVerts, int *sNumCall
boolean stopFlag = false;
boolean changeState = false;
boolean changeShader = false;
GLuint nextShader;
GLuint nextShader = 0U;
boolean changeTexture = false;
GLuint nextTexture;
GLuint nextTexture = 0U;
boolean changePolyFlags = false;
FBITFIELD nextPolyFlags;
FBITFIELD nextPolyFlags = 0U;
boolean changeSurfaceInfo = false;
FSurfaceInfo nextSurfaceInfo;