summaryrefslogtreecommitdiff
path: root/examples/gui/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui/main.lua')
-rw-r--r--examples/gui/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/gui/main.lua b/examples/gui/main.lua
index 82dd192..4c84af8 100644
--- a/examples/gui/main.lua
+++ b/examples/gui/main.lua
@@ -37,7 +37,8 @@ end
function draw()
RL_ClearBackground( { 50, 20, 75 } )
- if RL_GuiButton( { 112, 16, 96, 32 }, "Exit" ) then
+ -- if RL_GuiButton( { 112, 16, 96, 32 }, "Exit" ) then
+ if RL_GuiButton( { 112, 16, 96, 32 }, RL_GuiIconText( 113, "Exit" ) ) then
RL_CloseWindow()
end