summaryrefslogtreecommitdiff
path: root/examples/gui
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui')
-rw-r--r--examples/gui/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gui/main.lua b/examples/gui/main.lua
index 3db60bb..01e063e 100644
--- a/examples/gui/main.lua
+++ b/examples/gui/main.lua
@@ -26,7 +26,7 @@ function RL.init()
local mSize = RL.GetMonitorSize( monitor )
local winSize = { 1920, 1080 }
- RL.GuiSetFont( 0 )
+ RL.GuiSetFont( RL.defaultFont )
RL.SetWindowState( RL.FLAG_WINDOW_RESIZABLE )
RL.SetWindowState( RL.FLAG_VSYNC_HINT )
RL.SetWindowSize( winSize )