SDL_HINT_OPENGL_LIBRARY(3)

SDL_HINT_OPENGL_LIBRARY3

Specify the opengl library to load.

Usage

#include "SDL3/SDL.h"

#define SDL_HINT_OPENGL_LIBRARY SDL_OPENGL_LIBRARY"

Header file

Defined in SDL3/SDL_hints.h

Overview

This hint should be set before creating an OpenGL window or creating an OpenGL context. If this hint isn't set, SDL will choose a reasonable default.

Availability

This hint 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.