Added SDL_HINT_OPENGL_LIBRARY and SDL_HINT_VULKAN_LIBRARY

This commit is contained in:
Sam Lantinga 2024-08-03 09:33:32 -07:00
parent c9b2bfa7c1
commit 05f870f20d
13 changed files with 30 additions and 12 deletions

View file

@ -2436,6 +2436,15 @@ extern "C" {
*/
#define SDL_HINT_NO_SIGNAL_HANDLERS "SDL_NO_SIGNAL_HANDLERS"
/**
* Specify the OpenGL library to load.
*
* This hint should be set before creating an OpenGL window or creating an OpenGL context.
*
* \since This hint is available since SDL 3.0.0.
*/
#define SDL_HINT_OPENGL_LIBRARY "SDL_OPENGL_LIBRARY"
/**
* A variable controlling what driver to use for OpenGL ES contexts.
*
@ -3341,6 +3350,15 @@ extern "C" {
*/
#define SDL_HINT_VITA_TOUCH_MOUSE_DEVICE "SDL_VITA_TOUCH_MOUSE_DEVICE"
/**
* Specify the Vulkan library to load.
*
* This hint should be set before creating a Vulkan window or calling SDL_Vulkan_LoadLibrary().
*
* \since This hint is available since SDL 3.0.0.
*/
#define SDL_HINT_VULKAN_LIBRARY "SDL_VULKAN_LIBRARY"
/**
* A variable controlling how the fact chunk affects the loading of a WAVE
* file.