diff options
| author | jussi | 2022-06-26 15:03:08 +0300 |
|---|---|---|
| committer | jussi | 2022-06-26 15:03:08 +0300 |
| commit | 314d0412a53b8e012ec183c503a69cc32e24ab34 (patch) | |
| tree | 1655be4b4a86f1712641301d673e22750ec7e8a6 /examples/platformer/main.lua | |
| parent | 36baf4c1222aee409bb62be9770798bfa7fdd302 (diff) | |
| download | reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.gz reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.bz2 reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.zip | |
Get font info.
Diffstat (limited to 'examples/platformer/main.lua')
| -rw-r--r-- | examples/platformer/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/platformer/main.lua b/examples/platformer/main.lua index 2c954be..5bfa6ab 100644 --- a/examples/platformer/main.lua +++ b/examples/platformer/main.lua @@ -90,9 +90,9 @@ function init() local monitorPos = Vec2:new( RL_GetMonitorPosition( monitor ) ) local monitorSize = Vec2:new( RL_GetMonitorSize( monitor ) ) - RL_SetConfigFlags( FLAG_VSYNC_HINT ) RL_SetWindowTitle( "Platformer" ) RL_SetWindowState( FLAG_WINDOW_RESIZABLE ) + RL_SetWindowState( FLAG_VSYNC_HINT ) RL_SetWindowSize( winSize ) RL_SetWindowPosition( { monitorPos.x + monitorSize.x / 2 - winSize.x / 2, monitorPos.y + monitorSize.y / 2 - winSize.y / 2 } ) |
