ifdef the option 3

This commit is contained in:
Emily 2026-03-11 00:29:19 -04:00
parent bfc83f7830
commit 4e286dd92c

View file

@ -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;
}