mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
video: Default SDL_GL_FRAMEBUFFER_SRGB_CAPABLE back to zero.
(This was corrected in main, but there isn't a clean cherry-pick we can do for the release-3.4.x branch at this point, since various pieces of the sRGB work made it in here in a different order, but this is the one crucial line that appears to be missing.) Reference Issue #14898.
This commit is contained in:
parent
66020c2ed7
commit
c5bc4576fc
1 changed files with 1 additions and 1 deletions
|
|
@ -4991,7 +4991,7 @@ void SDL_GL_ResetAttributes(void)
|
|||
}
|
||||
|
||||
_this->gl_config.flags = 0;
|
||||
_this->gl_config.framebuffer_srgb_capable = -1;
|
||||
_this->gl_config.framebuffer_srgb_capable = 0;
|
||||
_this->gl_config.no_error = 0;
|
||||
_this->gl_config.release_behavior = SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH;
|
||||
_this->gl_config.reset_notification = SDL_GL_CONTEXT_RESET_NO_NOTIFICATION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue