mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-26 12:27:01 +00:00
Update rcore.c
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user