Removed SDL_HINT_RENDER_OPENGL_SHADERS

Shaders are always used if they are available.
This commit is contained in:
Sam Lantinga 2024-02-11 18:08:30 -08:00
parent 9920e062d5
commit 7cb1ca60ec
4 changed files with 2 additions and 16 deletions

View file

@ -1765,17 +1765,6 @@ extern "C" {
*/
#define SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE "SDL_RENDER_METAL_PREFER_LOW_POWER_DEVICE"
/**
* A variable controlling whether the OpenGL render driver uses shaders if they are available.
*
* The variable can be set to the following values:
* "0" - Disable shaders.
* "1" - Enable shaders. (default)
*
* This hint should be set before creating a renderer.
*/
#define SDL_HINT_RENDER_OPENGL_SHADERS "SDL_RENDER_OPENGL_SHADERS"
/**
* A variable controlling whether vsync is automatically disabled if doesn't reach enough FPS.
*