I'm using Windows 10 option that makes user interface items slightly larger as usual (125%).
It looks like applications can decide whether to use this scaling or not.
My Pygame program seems to take this scaling into account. How can I make it ignore this so that a 100x100 Pygame screen is really 100x100 pixels on my display (not 125x125)?
Found an answer from https://gamedev.stackexchange.com/questions/105750/pygame-fullsreen-display-issue:
import ctypes
ctypes.windll.user32.SetProcessDPIAware()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With