ZDoom / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://zdoom.org
GNU General Public License v3.0
2.33k stars 528 forks source link

- dynamically import GetDpiForWindow from USER32.dll in case it does … #2515

Closed madame-rachelle closed 2 months ago

madame-rachelle commented 2 months ago

…not exist, use try/catch to return a default value

This is needed in order to restore full Windows 7 support.

madame-rachelle commented 2 months ago

Sorry - I was in a bit of a rush and was looking online for how to do this easily. This should address those concerns now.

coelckers commented 2 months ago

Yes, that's better,