logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GLProfile - Possible values to be set for the SDL_GL_CONTEXT_PROFILE_MASK attribute.

Availability

       This datatype is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                               SDL_GLProfile(3type)

Name

       SDL_GLProfile - Possible values to be set for the SDL_GL_CONTEXT_PROFILE_MASK attribute.

Synopsis

#include<SDL3/SDL_video.h>typedefUint32SDL_GLProfile;#defineSDL_GL_CONTEXT_PROFILE_CORE0x0001/**<OpenGLCoreProfilecontext*/#defineSDL_GL_CONTEXT_PROFILE_COMPATIBILITY0x0002/**<OpenGLCompatibilityProfilecontext*/#defineSDL_GL_CONTEXT_PROFILE_ES0x0004/**<GLX_CONTEXT_ES2_PROFILE_BIT_EXT*/

See Also