diff options
Diffstat (limited to 'examples/ray/main.lua')
| -rw-r--r-- | examples/ray/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ray/main.lua b/examples/ray/main.lua index 248cec6..0c594d0 100644 --- a/examples/ray/main.lua +++ b/examples/ray/main.lua @@ -6,7 +6,7 @@ local function setupWindow() local monitor = 0 local mPos = RL_GetMonitorPosition( monitor ) local mSize = RL_GetMonitorSize( monitor ) - local winSize = RL_GetWindowSize() + local winSize = RL_GetScreenSize() RL_SetWindowState( FLAG_WINDOW_RESIZABLE ) RL_SetWindowState( FLAG_VSYNC_HINT ) |
