SDL Wiki

SDL_HINT_OPENGL_LIBRARY

Specify the OpenGL library to load.

Header File

Defined in <SDL3/SDL_hints.h>

Syntax

#define SDL_HINT_OPENGL_LIBRARY "SDL_OPENGL_LIBRARY"

Remarks

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.

Version

This hint is available since SDL 3.2.0.


CategoryAPI, CategoryAPIMacro, CategoryHints


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.