Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_HINT_OPENGL_LIBRARY - Specify the OpenGL library to load.

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                         SDL_HINT_OPENGL_LIBRARY(3)

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.

Name

       SDL_HINT_OPENGL_LIBRARY - Specify the OpenGL library to load.

Synopsis

#include<SDL3/SDL_hints.h>#defineSDL_HINT_OPENGL_LIBRARY"SDL_OPENGL_LIBRARY"

See Also