summaryrefslogtreecommitdiff
path: root/examples/image_draw
diff options
context:
space:
mode:
Diffstat (limited to 'examples/image_draw')
-rw-r--r--examples/image_draw/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/image_draw/main.lua b/examples/image_draw/main.lua
index 2da0c58..2a78a13 100644
--- a/examples/image_draw/main.lua
+++ b/examples/image_draw/main.lua
@@ -8,7 +8,7 @@ local textImage = -1
function init()
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 )