Add SDL_GL_ResetAttributes.
--HG-- extra : rebase_source : 0a6fd1c977ab93ba651adaae3fa5a71d7c69fa8e
This commit is contained in:
parent
a09aac7720
commit
d17c440442
4 changed files with 51 additions and 33 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue