From 9df23e32b02167dd41c8b5c25b852717163dfeda Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 15 Feb 2023 01:10:03 +0200 Subject: RL_GetWindowSize renamed to RL_GetScreenSize. --- examples/window/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/window/main.lua') diff --git a/examples/window/main.lua b/examples/window/main.lua index 7ddf828..1fa5744 100644 --- a/examples/window/main.lua +++ b/examples/window/main.lua @@ -11,7 +11,7 @@ end function process( delta ) if RL_IsKeyPressed( KEY_ENTER ) then local textSize = RL_MeasureText( 0, text, 20, 2 ) - local winSize = RL_GetWindowSize() + local winSize = RL_GetScreenSize() textColor = BLUE textPos = { winSize[1] / 2 - textSize[1] / 2, winSize[2] / 2 - textSize[2] / 2 } -- cgit v1.2.3