summaryrefslogtreecommitdiff
path: root/examples/heightmap
diff options
context:
space:
mode:
Diffstat (limited to 'examples/heightmap')
-rw-r--r--examples/heightmap/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/heightmap/main.lua b/examples/heightmap/main.lua
index 3cae3e4..4b5e70e 100644
--- a/examples/heightmap/main.lua
+++ b/examples/heightmap/main.lua
@@ -24,6 +24,7 @@ function init()
local winSize = RL_GetWindowSize()
RL_SetWindowState( FLAG_WINDOW_RESIZABLE )
+ RL_SetWindowState( FLAG_VSYNC_HINT )
RL_SetWindowPosition( { mPos[1] + mSize[1] / 2 - winSize[1] / 2, mPos[2] + mSize[2] / 2 - winSize[2] / 2 } )
camera = RL_CreateCamera3D()