diff --git a/nest/modules/video.lua b/nest/modules/video.lua index 25bded6..9a62cba 100644 --- a/nest/modules/video.lua +++ b/nest/modules/video.lua @@ -109,6 +109,10 @@ function video.keypressed(key) -- set the new width and height of the window local width, height = current_framebuffer:getWidth(), current_framebuffer:getHeight() love.window.updateMode(width, height, {}) + + if love.resize then + love.resize(width, height) + end end end