Reset all previously set OpenGL context attributes to their default values.
Defined in <SDL3/SDL_video.h>
void SDL_GL_ResetAttributes(void);
This function should only be called on the main thread.
This function is available since SDL 3.2.0.
CategoryAPI, CategoryAPIFunction, CategoryVideo
All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). Wiki powered by ghwikipp.