Scroll to navigation

SDL_GLcontextFlag(3type) SDL3 DATATYPES SDL_GLcontextFlag(3type)

NAME

SDL_GLcontextFlag - Possible values to be set for the SDL_GL_CONTEXT_FLAGS
attribute.

HEADER FILE

Defined in SDL3/SDL_video.h

SYNOPSIS

#include "SDL3/SDL.h"
typedef enum SDL_GLcontextFlag
{
    SDL_GL_CONTEXT_DEBUG_FLAG              = 0x0001,
    SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 0x0002,
    SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG      = 0x0004,
    SDL_GL_CONTEXT_RESET_ISOLATION_FLAG    = 0x0008
} SDL_GLcontextFlag;

AVAILABILITY

This enum is available since SDL 3.0.0.

SDL 3.1.2 Simple Directmedia Layer