summaryrefslogtreecommitdiff
path: root/examples/events
diff options
context:
space:
mode:
Diffstat (limited to 'examples/events')
-rw-r--r--examples/events/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/events/main.lua b/examples/events/main.lua
index 8a8fb34..052edc1 100644
--- a/examples/events/main.lua
+++ b/examples/events/main.lua
@@ -100,5 +100,5 @@ function RL.draw()
RL.ClearBackground( RL.RED )
end
- RL.DrawText( RL.defaultFont, text, textPos, 20, 2, RL.BLACK )
+ RL.DrawText( RL.GetFontDefault(), text, textPos, 20, 2, RL.BLACK )
end