mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-27 09:03:00 +00:00
ifdef the option 3
This commit is contained in:
parent
bfc83f7830
commit
4e286dd92c
|
|
@ -2189,8 +2189,9 @@ int GameRenderer::getFpsCap(int option)
|
|||
int maxFps = 200;
|
||||
if (option == 1) maxFps = 120;
|
||||
if (option == 2) maxFps = 35;
|
||||
#ifndef ENABLE_VSYNC
|
||||
if (option == 3) maxFps = 0;
|
||||
|
||||
#endif
|
||||
return maxFps;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue