Browse Source

Update rcore.c

pull/3488/head
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 View File

@ -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

Loading…
Cancel
Save