Skip to content

Conversation

@midzer
Copy link

@midzer midzer commented Jul 25, 2024

for Retina screens, for example on Mac or mobile devices.

Reference: https://wiki.libsdl.org/SDL2/SDL_WindowFlags

Have a nice week
midzer

@miniupnp
Copy link
Contributor

 SDL_WINDOW_ALLOW_HIGHDPI = 0x00002000,      /**< window should be created in high-DPI mode if supported.
                                                     On macOS NSHighResolutionCapable must be set true in the
                                                     application's Info.plist for this to have any effect. */

Also, is that useful to se this for a 320x200 game ?

@miniupnp miniupnp self-assigned this Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants