src/render/opengles2/SDL_render_gles2.c
changeset 9958 687e118144c7
parent 9739 306e09b65660
child 9977 f9cd179cf50e
equal deleted inserted replaced
9957:0be86b512d34 9958:687e118144c7
  1954     GLboolean hasCompiler;
  1954     GLboolean hasCompiler;
  1955 #endif
  1955 #endif
  1956     Uint32 window_flags;
  1956     Uint32 window_flags;
  1957     GLint window_framebuffer;
  1957     GLint window_framebuffer;
  1958     GLint value;
  1958     GLint value;
  1959     int profile_mask, major, minor;
  1959     int profile_mask = 0, major = 0, minor = 0;
  1960     SDL_bool changed_window = SDL_FALSE;
  1960     SDL_bool changed_window = SDL_FALSE;
  1961 
  1961 
  1962     SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask);
  1962     SDL_GL_GetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, &profile_mask);
  1963     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, &major);
  1963     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, &major);
  1964     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, &minor);
  1964     SDL_GL_GetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, &minor);