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
1 changed files with 1 additions and 1 deletions

View File

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