src/render/opengles2/SDL_render_gles2.c
changeset 9958 687e118144c7
parent 9739 306e09b65660
child 9977 f9cd179cf50e
     1.1 --- a/src/render/opengles2/SDL_render_gles2.c	Wed Dec 09 21:34:56 2015 -0500
     1.2 +++ b/src/render/opengles2/SDL_render_gles2.c	Thu Dec 10 20:25:34 2015 -0400
     1.3 @@ -1956,7 +1956,7 @@
     1.4      Uint32 window_flags;
     1.5      GLint window_framebuffer;
     1.6      GLint value;
     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);