Skip to content

Commit 28d19a4

Browse files
committed
avoids resizing issue, orders table to be consistent with pong-0
1 parent b7e5fa0 commit 28d19a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pong-1/main.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ function love.load()
4545
-- actual window no matter its dimensions; replaces our love.window.setMode call
4646
-- from the last example
4747
push:setupScreen(VIRTUAL_WIDTH, VIRTUAL_HEIGHT, WINDOW_WIDTH, WINDOW_HEIGHT, {
48-
vsync = true,
4948
fullscreen = false,
50-
resizable = true
49+
resizable = false,
50+
vsync = true
5151
})
5252
end
5353

@@ -77,4 +77,4 @@ function love.draw()
7777

7878
-- end rendering at virtual resolution
7979
push:apply('end')
80-
end
80+
end

0 commit comments

Comments
 (0)