diff options
Diffstat (limited to 'examples/ray/main.lua')
| -rw-r--r-- | examples/ray/main.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ray/main.lua b/examples/ray/main.lua index ed74f6e..248cec6 100644 --- a/examples/ray/main.lua +++ b/examples/ray/main.lua @@ -9,6 +9,7 @@ local function setupWindow() 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 } ) end |
