summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-10-30 13:14:15 +0100
committerRay <[email protected]>2023-10-30 13:14:15 +0100
commitabdebc244d41508c246a3a604f9f8b94d5758704 (patch)
tree2a62bbe77d7ee29741ae6330f34d376aeae4d133 /src
parent9642fffbbbdda0d31bedae6126e7b3b9073ec407 (diff)
downloadraylib-abdebc244d41508c246a3a604f9f8b94d5758704.tar.gz
raylib-abdebc244d41508c246a3a604f9f8b94d5758704.zip
Update rcore.c
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 415fecfd..fdc52120 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -764,7 +764,7 @@ int GetRenderHeight(void)
int height = 0;
#if defined(__APPLE__)
Vector2 scale = GetWindowScaleDPI();
- height = (int)((float)CORE.Window.render.width*scale.y);
+ height = (int)((float)CORE.Window.render.height*scale.y);
#else
height = CORE.Window.render.height;
#endif