summaryrefslogtreecommitdiff
path: root/examples/platformer
diff options
context:
space:
mode:
authorjussi2022-06-26 15:03:08 +0300
committerjussi2022-06-26 15:03:08 +0300
commit314d0412a53b8e012ec183c503a69cc32e24ab34 (patch)
tree1655be4b4a86f1712641301d673e22750ec7e8a6 /examples/platformer
parent36baf4c1222aee409bb62be9770798bfa7fdd302 (diff)
downloadreilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.gz
reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.bz2
reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.zip
Get font info.
Diffstat (limited to 'examples/platformer')
-rw-r--r--examples/platformer/main.lua2
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 } )