SDL_HINT_OPENGL_LIBRARY - Man Page

Specify the OpenGL library to load.

Synopsis

#include <SDL3/SDL_hints.h>

#define SDL_HINT_OPENGL_LIBRARY "SDL_OPENGL_LIBRARY"

Description

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.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS