File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -672,7 +672,8 @@ function love.load(arg)
672
672
local setmode_param = {
673
673
fullscreen = false ,
674
674
fullscreentype = " desktop" ,
675
- resizable = true
675
+ resizable = true ,
676
+ vsync = true
676
677
}
677
678
678
679
if config_list .width then
@@ -691,6 +692,11 @@ function love.load(arg)
691
692
wx , wy = 0 , 0
692
693
end
693
694
695
+ if config_list .novsync then
696
+ force_setmode = true
697
+ setmode_param .vsync = false
698
+ end
699
+
694
700
if force_setmode then
695
701
love .window .setMode (wx , wy , setmode_param )
696
702
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ local isolated_love = {
158
158
-- List of whitelisted libraries for storyboard
159
159
local allowed_libs = {
160
160
JSON = require (" JSON" ),
161
- List = require (" List" ),
162
161
tween = require (" tween" ),
163
162
EffectPlayer = require (" effect_player" ),
164
163
luafft = isolate_globals (love .filesystem .load (" luafft.lua" )),
You can’t perform that action at this time.
0 commit comments