summaryrefslogtreecommitdiff
path: root/examples/heightmap
diff options
context:
space:
mode:
Diffstat (limited to 'examples/heightmap')
-rw-r--r--examples/heightmap/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/heightmap/main.lua b/examples/heightmap/main.lua
index 4b5e70e..e8cc4ea 100644
--- a/examples/heightmap/main.lua
+++ b/examples/heightmap/main.lua
@@ -21,7 +21,7 @@ local matrix = {}
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 )