src/video/SDL_video.c
changeset 8601 4c04c7785cba
parent 8586 0dc3f8da610a
child 8616 ec011c16e2fd
equal deleted inserted replaced
8600:092802455aed 8601:4c04c7785cba
  2561     _this->gl_config.stereo = 0;
  2561     _this->gl_config.stereo = 0;
  2562     _this->gl_config.multisamplebuffers = 0;
  2562     _this->gl_config.multisamplebuffers = 0;
  2563     _this->gl_config.multisamplesamples = 0;
  2563     _this->gl_config.multisamplesamples = 0;
  2564     _this->gl_config.retained_backing = 1;
  2564     _this->gl_config.retained_backing = 1;
  2565     _this->gl_config.accelerated = -1;  /* accelerated or not, both are fine */
  2565     _this->gl_config.accelerated = -1;  /* accelerated or not, both are fine */
       
  2566     _this->gl_config.profile_mask = 0;
  2566 #if SDL_VIDEO_OPENGL
  2567 #if SDL_VIDEO_OPENGL
  2567     _this->gl_config.major_version = 1;
  2568     _this->gl_config.major_version = 2;
  2568     _this->gl_config.minor_version = 2;
  2569     _this->gl_config.minor_version = 1;
  2569     _this->gl_config.profile_mask = 0;
       
  2570 #elif SDL_VIDEO_OPENGL_ES2
  2570 #elif SDL_VIDEO_OPENGL_ES2
  2571     _this->gl_config.major_version = 2;
  2571     _this->gl_config.major_version = 2;
  2572     _this->gl_config.minor_version = 0;
  2572     _this->gl_config.minor_version = 0;
  2573     _this->gl_config.profile_mask = SDL_GL_CONTEXT_PROFILE_ES;
  2573     _this->gl_config.profile_mask = SDL_GL_CONTEXT_PROFILE_ES;
  2574 #elif SDL_VIDEO_OPENGL_ES
  2574 #elif SDL_VIDEO_OPENGL_ES