diff --git a/conf.lua b/conf.lua index 66378881..5f76c345 100644 --- a/conf.lua +++ b/conf.lua @@ -22,7 +22,6 @@ function love.conf(t) W.minwidth,W.minheight=640,360 W.borderless=false W.resizable=true - W.fullscreentype='desktop'--'exclusive' W.fullscreen=false W.vsync=0--Unlimited FPS W.msaa=false--Num of samples to use with multi-sampled antialiasing diff --git a/parts/gametoolfunc.lua b/parts/gametoolfunc.lua index 850a2c79..0ea681f2 100644 --- a/parts/gametoolfunc.lua +++ b/parts/gametoolfunc.lua @@ -15,7 +15,7 @@ local SETTING,GAME,SCR=SETTING,GAME,SCR function switchFullscreen() SETTING.fullscreen=not SETTING.fullscreen love.window.setFullscreen(SETTING.fullscreen) - love.resize(love.graphics.getWidth(),love.graphics.getHeight()) + love.resize(gc.getWidth(),gc.getHeight()) end diff --git a/parts/texture.lua b/parts/texture.lua index 43408731..12864ea3 100644 --- a/parts/texture.lua +++ b/parts/texture.lua @@ -1,5 +1,4 @@ local gc=love.graphics -local ins=table.insert local function NSC(x,y)--New & Set Canvas local _=gc.newCanvas(x,y)