src/render/opengles/SDL_render_gles.c
changeset 9958 687e118144c7
parent 9709 cc44b8a34b2d
child 9977 f9cd179cf50e
equal deleted inserted replaced
9957:0be86b512d34 9958:687e118144c7
   283 
   283 
   284     SDL_Renderer *renderer;
   284     SDL_Renderer *renderer;
   285     GLES_RenderData *data;
   285     GLES_RenderData *data;
   286     GLint value;
   286     GLint value;
   287     Uint32 window_flags;
   287     Uint32 window_flags;
   288     int profile_mask, major, minor;
   288     int profile_mask = 0, major = 0, minor = 0;
   289     SDL_bool changed_window = SDL_FALSE;
   289     SDL_bool changed_window = SDL_FALSE;
   290 
   290 
   291     SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask);
   291     SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask);
   292     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, &major);
   292     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, &major);
   293     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, &minor);
   293     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, &minor);