From 70a2bcba18aa9855380c132f89e26b61bfd2cb40 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 3 Jan 2024 18:23:19 +0200 Subject: Rest of font loading/unloading functions. GlyphInfo type to userdata. GlyphInfo management functions. --- examples/window/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/window') diff --git a/examples/window/main.lua b/examples/window/main.lua index 63c18d7..6111ffa 100644 --- a/examples/window/main.lua +++ b/examples/window/main.lua @@ -9,7 +9,7 @@ end function RL.process( delta ) if RL.IsKeyPressed( RL.KEY_ENTER ) then - local textSize = RL.MeasureText( 0, text, 20, 2 ) + local textSize = RL.MeasureText( RL.GetFontDefault(), text, 20, 2 ) local winSize = RL.GetScreenSize() textColor = RL.BLUE -- cgit v1.2.3