summaryrefslogtreecommitdiff
path: root/examples/raygui_examples/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/raygui_examples/main.lua')
-rw-r--r--examples/raygui_examples/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/raygui_examples/main.lua b/examples/raygui_examples/main.lua
index 2fcf4c5..e0e7ac3 100644
--- a/examples/raygui_examples/main.lua
+++ b/examples/raygui_examples/main.lua
@@ -26,8 +26,8 @@ end
function RL.init()
local monitor = 0
- local mPos = Vec2:new( RL.GetMonitorPosition( monitor ) )
- local mSize = Vec2:new( RL.GetMonitorSize( monitor ) )
+ local mPos = Vec2:newT( RL.GetMonitorPosition( monitor ) )
+ local mSize = Vec2:newT( RL.GetMonitorSize( monitor ) )
local winSize = Vec2:new( 1024, 800 )
RL.SetWindowTitle( "Raygui examples" )