Closed auxves closed 7 months ago
In raylib 5.0, the GetRender(Width|Height) functions account for HighDPI on macOS, but this causes the issue mentioned in this comment: https://github.com/tsoding/musializer/issues/52#issuecomment-1824789213
GetRender(Width|Height)
I believe the correct way to get the window's width and height are the GetScreen(Width|Height) functions. On non-macOS platforms, they are currently identical, but that may change in the future.
GetScreen(Width|Height)
Oh... This was already fixed in a different PR at #61 I probably didn't notice your PR at the time, sorry :sweat_smile:
In raylib 5.0, the
GetRender(Width|Height)
functions account for HighDPI on macOS, but this causes the issue mentioned in this comment: https://github.com/tsoding/musializer/issues/52#issuecomment-1824789213I believe the correct way to get the window's width and height are the
GetScreen(Width|Height)
functions. On non-macOS platforms, they are currently identical, but that may change in the future.