SDL_GLContextReleaseFlag

Possible values to be set for the SDL_GL_CONTEXT_RELEASE_BEHAVIOR attribute.

Header File

Defined in <SDL3/SDL_video.h>

Syntax

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.2.0.


CategoryAPI, CategoryAPIDatatype, CategoryVideo