###### (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!) # SDL_GLContextReleaseFlag Possible values to be set for the [SDL_GL_CONTEXT_RELEASE_BEHAVIOR](SDL_GL_CONTEXT_RELEASE_BEHAVIOR) attribute. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_video.h) ## Syntax ```c typedef Uint32 SDL_GLContextReleaseFlag; #define SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE 0x0000 #define SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x0001 ``` ## Version This datatype is available since SDL 3.1.3. ---- [CategoryAPI](CategoryAPI), [CategoryAPIDatatype](CategoryAPIDatatype), [CategoryVideo](CategoryVideo)