---
name: "SDL_GLProfile"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GLProfile"
---

# SDL\_GLProfile(3type)

Possible values to be set for the SDL\_GL\_CONTEXT\_PROFILE\_MASK attribute.

## NAME

SDL\_GLProfile - Possible values to be set for the  **SDL\_GL\_CONTEXT\_PROFILE\_MASK**\
  attribute.

## HEADER FILE

Defined in SDL3/SDL\_video.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef Uint32 SDL\_GLProfile;** **#define SDL\_GL\_CONTEXT\_PROFILE\_CORE           0x0001  /\*\*\< OpenGL Core Profile context \*/** **#define SDL\_GL\_CONTEXT\_PROFILE\_COMPATIBILITY  0x0002  /\*\*\< OpenGL Compatibility Profile context \*/** **#define SDL\_GL\_CONTEXT\_PROFILE\_ES             0x0004  /\*\*\< GLX\_CONTEXT\_ES2\_PROFILE\_BIT\_EXT \*/**

## AVAILABILITY

This datatype is available since SDL 3.2.0.
