SDL_GLContextFlag(3type)

SDL_GLContextFlag3type

Possible flags to be set for the sdl_gl_context_flags attribute.

Usage

#include "SDL3/SDL.h"

typedef Uint32 SDL_GLContextFlag; #define SDL_GL_CONTEXT_DEBUG_FLAG 0x0001 #define SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG 0x0002 #define SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG 0x0004 #define SDL_GL_CONTEXT_RESET_ISOLATION_FLAG 0x0008

Header file

Defined in SDL3/SDL_video.h

Availability

This datatype is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.