mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +00:00
Removed SDL_HINT_RENDER_OPENGL_SHADERS
Shaders are always used if they are available.
This commit is contained in:
parent
9920e062d5
commit
7cb1ca60ec
4 changed files with 2 additions and 16 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue