diff --git a/Zframework/init.lua b/Zframework/init.lua index 6dd33bb9..c89a43ae 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -688,7 +688,7 @@ function love.run() updatePowerInfo() lastFreshPow=time end - if gc.getWidth()~=SCR.w then + if gc.getWidth()~=SCR.w or gc.getHeight()~=SCR.h then love.resize(gc.getWidth(),gc.getHeight()) end end