src/core: fix a bug in windows size
This commit is contained in:
parent
6fb2f92f49
commit
4bf78e9c01
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ function ScreenManager:applySettings()
|
|||
flags.vsync = self.data.vsync
|
||||
flags.borderless = (self.data.border == false)
|
||||
|
||||
love.window.setMode(SCREEN_WIDTH * self.data.resolution, SCREEN_WIDTH * self.data.resolution, flags)
|
||||
love.window.setMode(SCREEN_WIDTH * self.data.resolution, SCREEN_HEIGHT * self.data.resolution, flags)
|
||||
love.window.setFullscreen( self.data.fullscreen )
|
||||
|
||||
local width, height = love.window.getMode()
|
||||
|
|
Loading…
Reference in a new issue