mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
meow
This commit is contained in:
parent
dcd7c362a5
commit
8c0399cc98
2 changed files with 2 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ void graphicsBindingInit(){
|
|||
_rb_define_module_function(module, "freeze", graphicsFreeze);
|
||||
_rb_define_module_function(module, "transition", graphicsTransition);
|
||||
_rb_define_module_function(module, "frame_reset", graphicsFrameReset);
|
||||
_rb_define_module_function(module, "setVsync", graphicsSetVsync);
|
||||
_rb_define_module_function(module, "vsync_mode=", graphicsSetVsync);
|
||||
_rb_define_module_function(module, "__reset__", graphicsReset);
|
||||
|
||||
// Variables
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ module Settings
|
|||
|
||||
VSYNC_MODES = [1, -1, 0]
|
||||
def vsync(value)
|
||||
Graphics.setVsync(VSYNC_MODES[value])
|
||||
Graphics.vsync_mode = VSYNC_MODES[value]
|
||||
end
|
||||
|
||||
# ----------------------------------------------- UI -----------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue