summaryrefslogtreecommitdiff
path: root/examples/2D_camera
diff options
context:
space:
mode:
Diffstat (limited to 'examples/2D_camera')
-rw-r--r--examples/2D_camera/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/2D_camera/main.lua b/examples/2D_camera/main.lua
index 55c3b5a..b23d606 100644
--- a/examples/2D_camera/main.lua
+++ b/examples/2D_camera/main.lua
@@ -11,7 +11,7 @@ function init()
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 )