mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00:00
Removed SDL_HINT_RENDER_OPENGL_SHADERS
Shaders are always used if they are available.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user