mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-10 04:25:05 +00:00
Update rcore.c
This commit is contained in:
@@ -764,7 +764,7 @@ int GetRenderHeight(void)
|
|||||||
int height = 0;
|
int height = 0;
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
Vector2 scale = GetWindowScaleDPI();
|
Vector2 scale = GetWindowScaleDPI();
|
||||||
height = (int)((float)CORE.Window.render.width*scale.y);
|
height = (int)((float)CORE.Window.render.height*scale.y);
|
||||||
#else
|
#else
|
||||||
height = CORE.Window.render.height;
|
height = CORE.Window.render.height;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user