summaryrefslogtreecommitdiff
path: root/examples/image_draw
diff options
context:
space:
mode:
Diffstat (limited to 'examples/image_draw')
-rw-r--r--examples/image_draw/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/image_draw/main.lua b/examples/image_draw/main.lua
index ee9757c..7d5cb90 100644
--- a/examples/image_draw/main.lua
+++ b/examples/image_draw/main.lua
@@ -11,6 +11,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 } )
image = RL_GenImageColor( winSize[1], winSize[2], WHITE )
-- Test changing working directory.