src/render/opengles/SDL_render_gles.c
changeset 9958 687e118144c7
parent 9709 cc44b8a34b2d
child 9977 f9cd179cf50e
     1.1 --- a/src/render/opengles/SDL_render_gles.c	Wed Dec 09 21:34:56 2015 -0500
     1.2 +++ b/src/render/opengles/SDL_render_gles.c	Thu Dec 10 20:25:34 2015 -0400
     1.3 @@ -285,7 +285,7 @@
     1.4      GLES_RenderData *data;
     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);