summaryrefslogtreecommitdiff
path: root/examples/window/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/window/main.lua')
-rw-r--r--examples/window/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/window/main.lua b/examples/window/main.lua
index 2b4a009..ed0227b 100644
--- a/examples/window/main.lua
+++ b/examples/window/main.lua
@@ -32,5 +32,5 @@ end
function RL.draw()
RL.ClearBackground( RL.RAYWHITE )
RL.DrawTexture( texture, { 20, 20 }, RL.WHITE )
- RL.DrawText( RL.fontDefault, text, textPos, 20, 2, textColor )
+ RL.DrawText( RL.defaultFont, text, textPos, 20, 2, textColor )
end