From 4bf78e9c01dad9552ed34ed76f27a05fc48f0c80 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 28 Jan 2019 09:22:23 +0100 Subject: [PATCH] src/core: fix a bug in windows size --- sonic-radiance.love/core/screen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-radiance.love/core/screen.lua b/sonic-radiance.love/core/screen.lua index 1a1cf37..c7dc84a 100644 --- a/sonic-radiance.love/core/screen.lua +++ b/sonic-radiance.love/core/screen.lua @@ -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()