Skip to content

Commit c4ee32b

Browse files
committed
Something already working
1 parent 2bc3ec4 commit c4ee32b

File tree

2 files changed

+311
-992
lines changed

2 files changed

+311
-992
lines changed

include/SDL_hints.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,6 +2038,17 @@ extern "C" {
20382038
*/
20392039
#define SDL_HINT_PS2_DYNAMIC_VSYNC "SDL_PS2_DYNAMIC_VSYNC"
20402040

2041+
/**
2042+
* \brief A variable controlling if VSYNC is automatically disable if doesn't reach the enough FPS
2043+
*
2044+
* This variable can be set to the following values:
2045+
* "0" - It will be using VSYNC as defined in the main flag. Default
2046+
* "1" - If VSYNC was previously enabled, then it will disable VSYNC if doesn't reach enough speed
2047+
*
2048+
* By default SDL does not enable the automatic VSYNC
2049+
*/
2050+
#define SDL_HINT_PSP_DYNAMIC_VSYNC "SDL_PSP_DYNAMIC_VSYNC"
2051+
20412052
/**
20422053
* A variable to control whether the return key on the soft keyboard should
20432054
* hide the soft keyboard on Android and iOS.

0 commit comments

Comments
 (0)