Replies: 2 comments 6 replies
-
Display size should be the same as MonitorSize
|
Beta Was this translation helpful? Give feedback.
2 replies
-
raylib API tries to be common to all supported platform, despite the different naming conventions, for Android, "display" size should be the equivalent to "monitor" size. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
so I thought it was odd how screen size and render size are exposed to the user, but display size isn't,
since all three of these are printed during InitWindow()
and the display size seems quite useful to me to have, among other reasons, because to me it seems to conveniently abstract away the underlying hardware
so I made a PR recently #5188
which was understandably denied since I talked about it as a hackish solution to a platform-specific problem on android
but I do think CORE.Window.display has a lot of potential as an convenient abstraction for the underlying display size that already deals with a lot of platform quirks, so to me it just seems convenient to have
at this point it feels like I'm just missing something, so I'm really curious about why it is only used internally:
is it because it only gets set on initialization and isn't updated after,
or am I just misunderstanding the concept behind the display to begin with?
Beta Was this translation helpful? Give feedback.
All reactions