You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whatever logic we add for this, should it go into GetGraphicsAdapters as well? I don't remember why the retina logic was only in GetCurrentDisplayMode since both deal with DisplayModes.
I would think so... the thing that throws me off is how uikit doesn't give you the full unscaled res, so you can't know the maximum drawable size. I did this for Wayland and it's totally fine:
For some reason SDL's UIKit driver seems pretty deliberate in choosing to use "points" over pixels for display modes. I don't really understand the rationale.
I think we could take the existing code and multiply w/h by data.uiscreen.nativeScale at the end to get the full raw size of the screen, although that'd be a breaking change for applications. Alternatively we could introduce a new SDL hint to request a full retina resolution instead of points.
See: f660aec fd41ed1
This may be an SDL issue though?
@TheSpydog @kiates
The text was updated successfully, but these errors were encountered: