src/render/opengl/SDL_render_gl.c
changeset 9958 687e118144c7
parent 9680 1d13a878b066
child 9977 f9cd179cf50e
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Wed Dec 09 21:34:56 2015 -0500
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Thu Dec 10 20:25:34 2015 -0400
     1.3 @@ -393,7 +393,7 @@
     1.4      const char *hint;
     1.5      GLint value;
     1.6      Uint32 window_flags;
     1.7 -    int profile_mask, major, minor;
     1.8 +    int profile_mask = 0, major = 0, minor = 0;
     1.9      SDL_bool changed_window = SDL_FALSE;
    1.10  
    1.11      SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask);