diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/gui/main.lua | 3 |
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 |
