Fix uninitialized variable

This commit is contained in:
Johan Mattsson 2022-02-05 13:49:12 +01:00 committed by Tim Angus
parent f7b7d48766
commit c0f29642a4

View file

@ -423,7 +423,7 @@ RB_RenderDrawSurfList
================== ==================
*/ */
void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) { void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
shader_t *shader, *oldShader; shader_t *shader = NULL, *oldShader;
int fogNum, oldFogNum; int fogNum, oldFogNum;
int entityNum, oldEntityNum; int entityNum, oldEntityNum;
int dlighted, oldDlighted; int dlighted, oldDlighted;