diff options
Diffstat (limited to 'examples/window')
| -rw-r--r-- | examples/window/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
