ec- / Quake3e

Improved Quake III Arena engine
GNU General Public License v2.0
1.15k stars 148 forks source link

Enable Win32 DPI awareness #253

Closed jesta88 closed 3 months ago

jesta88 commented 8 months ago

https://github.com/ec-/Quake3e/blob/914fc4007d8145a14c8473a6503e9e5f0e9e3d1c/code/win32/win_main.c#L636

The groundwork seems to be done, so is there something missing to enable this? It would be nice to also add support for the new per-monitor DPI awareness (v2) if supported, like so: pSetThreadDpiAwarenessContext( (HANDLE)(intptr_t)-4 );

ec- commented 6 months ago

It all should be already enabled with manifest without Win32 API calls