Add SDL_GL_ResetAttributes.

This commit is contained in:
J?rgen P. Tjern?
2014-01-29 18:38:13 -08:00
parent d76c2cc1da
commit 338bf9cc6c
4 changed files with 51 additions and 33 deletions

View File

@@ -865,6 +865,11 @@ extern DECLSPEC void SDLCALL SDL_GL_UnloadLibrary(void);
extern DECLSPEC SDL_bool SDLCALL SDL_GL_ExtensionSupported(const char
*extension);
/**
* \brief Reset all previously set OpenGL context attributes to their default values
*/
extern DECLSPEC void SDLCALL SDL_GL_ResetAttributes(void);
/**
* \brief Set an OpenGL window attribute before window creation.
*/