summaryrefslogtreecommitdiff
path: root/examples/pong
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pong')
-rw-r--r--examples/pong/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pong/main.lua b/examples/pong/main.lua
index b3f3f99..7de5517 100644
--- a/examples/pong/main.lua
+++ b/examples/pong/main.lua
@@ -53,6 +53,7 @@ function init()
local mPos = RL_GetMonitorPosition( monitor )
local mSize = RL_GetMonitorSize( monitor )
+ RL_SetWindowState( FLAG_VSYNC_HINT )
RL_SetWindowSize( winSize )
RL_SetWindowPosition( { mPos[1] + mSize[1] / 2 - winSize[1] / 2, mPos[2] + mSize[2] / 2 - winSize[2] / 2 } )
RL_SetWindowTitle( "Pong" )