diff --git a/src/sdl/i_video.cpp b/src/sdl/i_video.cpp index 92037d065..2f4d64db1 100644 --- a/src/sdl/i_video.cpp +++ b/src/sdl/i_video.cpp @@ -130,9 +130,9 @@ static SDL_bool borderlesswindow = SDL_FALSE; Uint16 realwidth = BASEVIDWIDTH; Uint16 realheight = BASEVIDHEIGHT; -SDL_Window *window; -SDL_Renderer *renderer; -static SDL_Texture *texture; +SDL_Window *window = NULL; +SDL_Renderer *renderer = NULL; +static SDL_Texture *texture = NULL; static SDL_bool havefocus = SDL_TRUE; static UINT32 refresh_rate;