Browse Source

Update rcore.c

Ray 1 year ago
parent
commit
abdebc244d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/rcore.c

+ 1 - 1
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