From 314d0412a53b8e012ec183c503a69cc32e24ab34 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 26 Jun 2022 15:03:08 +0300 Subject: Get font info. --- examples/platformer/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/platformer/main.lua') 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 } ) -- cgit v1.2.3