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

# SDL\_HINT\_EGL\_LIBRARY(3)

Specify the EGL library to load.

## NAME

SDL\_HINT\_EGL\_LIBRARY - Specify the EGL library to load.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_EGL\_LIBRARY** *SDL\_EGL\_LIBRARY"*

## DESCRIPTION

This hint should be set before creating an OpenGL window or creating an OpenGL context. This hint is only considered if SDL is using EGL to manage OpenGL contexts. If this hint isn't set, SDL will choose a reasonable default.

## AVAILABILITY

This hint is available since SDL 3.2.0.
