diff options
| author | jussi | 2022-06-21 12:36:22 +0300 |
|---|---|---|
| committer | jussi | 2022-06-21 12:36:22 +0300 |
| commit | 36baf4c1222aee409bb62be9770798bfa7fdd302 (patch) | |
| tree | 0b2722bf160178db06bb94df68fd5244affc8986 /examples/pong_vec/main.lua | |
| parent | 6bac1a2c6364886a482530a0ef4cf849ae468806 (diff) | |
| download | reilua-enhanced-36baf4c1222aee409bb62be9770798bfa7fdd302.tar.gz reilua-enhanced-36baf4c1222aee409bb62be9770798bfa7fdd302.tar.bz2 reilua-enhanced-36baf4c1222aee409bb62be9770798bfa7fdd302.zip | |
Removed autoset fps.
Diffstat (limited to 'examples/pong_vec/main.lua')
| -rw-r--r-- | examples/pong_vec/main.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pong_vec/main.lua b/examples/pong_vec/main.lua index 705e68f..4bf3d35 100644 --- a/examples/pong_vec/main.lua +++ b/examples/pong_vec/main.lua @@ -59,6 +59,7 @@ function init() local mPos = Vec2:new( RL_GetMonitorPosition( monitor ) ) local mSize = Vec2:new( RL_GetMonitorSize( monitor ) ) + RL_SetConfigFlags( FLAG_VSYNC_HINT ) RL_SetWindowSize( winSize ) RL_SetWindowPosition( { mPos.x + mSize.x / 2 - winSize.x / 2, mPos.y + mSize.y / 2 - winSize.y / 2 } ) RL_SetWindowTitle( "Pong" ) |
