RL_GetWindowSize renamed to RL_GetScreenSize.

This commit is contained in:
jussi
2023-02-15 01:10:03 +02:00
parent cf7c480aca
commit 9df23e32b0
20 changed files with 28 additions and 25 deletions

View File

@@ -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 }