mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 21:25:37 +00:00
Drop the default requested OpenGL version to 1.2.
Fixes default context creation on Mac OS X <= 10.6.
This commit is contained in:
parent
1fe7b27a96
commit
89648a9a3c
|
@ -2563,10 +2563,10 @@ SDL_GL_ResetAttributes()
|
||||||
_this->gl_config.multisamplesamples = 0;
|
_this->gl_config.multisamplesamples = 0;
|
||||||
_this->gl_config.retained_backing = 1;
|
_this->gl_config.retained_backing = 1;
|
||||||
_this->gl_config.accelerated = -1; /* accelerated or not, both are fine */
|
_this->gl_config.accelerated = -1; /* accelerated or not, both are fine */
|
||||||
_this->gl_config.profile_mask = 0;
|
|
||||||
#if SDL_VIDEO_OPENGL
|
#if SDL_VIDEO_OPENGL
|
||||||
_this->gl_config.major_version = 2;
|
_this->gl_config.major_version = 1;
|
||||||
_this->gl_config.minor_version = 1;
|
_this->gl_config.minor_version = 2;
|
||||||
|
_this->gl_config.profile_mask = 0;
|
||||||
#elif SDL_VIDEO_OPENGL_ES2
|
#elif SDL_VIDEO_OPENGL_ES2
|
||||||
_this->gl_config.major_version = 2;
|
_this->gl_config.major_version = 2;
|
||||||
_this->gl_config.minor_version = 0;
|
_this->gl_config.minor_version = 0;
|
||||||
|
|
Loading…
Reference in a new issue