Skip to content

Commit e54e783

Browse files
committed
pong-5 table, resizing
1 parent 75e3855 commit e54e783

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pong-6/main.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ function love.load()
7878

7979
-- initialize window with virtual resolution
8080
push:setupScreen(VIRTUAL_WIDTH, VIRTUAL_HEIGHT, WINDOW_WIDTH, WINDOW_HEIGHT, {
81-
vsync = true,
8281
fullscreen = false,
83-
resizable = true
82+
resizable = false,
83+
vsync = true
8484
})
8585

8686
-- initialize score variables, used for rendering on the screen and keeping
@@ -209,4 +209,4 @@ function displayFPS()
209209
love.graphics.setFont(smallFont)
210210
love.graphics.setColor(0, 255, 0, 255)
211211
love.graphics.print('FPS: ' .. tostring(love.timer.getFPS()), 10, 10)
212-
end
212+
end

0 commit comments

Comments
 (0)