diff --git a/src/main.cpp b/src/main.cpp index b83eafe..8d359e7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -276,7 +276,7 @@ int main(int argc, char *argv[]) } SDL_Window *win; - Uint32 winFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_INPUT_FOCUS; + Uint32 winFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_ALLOW_HIGHDPI; if (conf.winResizable) winFlags |= SDL_WINDOW_RESIZABLE; diff --git a/windows/mkxp.exe.manifest b/windows/mkxp.exe.manifest new file mode 100644 index 0000000..03dfda3 --- /dev/null +++ b/windows/mkxp.exe.manifest @@ -0,0 +1,16 @@ + + + + + + true + + PerMonitorV2 + + + + diff --git a/windows/resource.h b/windows/resource.h index 32015bd..c4e9734 100644 --- a/windows/resource.h +++ b/windows/resource.h @@ -1 +1,2 @@ +#define IDI_MANIFEST 1 #define IDI_APPICON 101 diff --git a/windows/resource.rc b/windows/resource.rc index 293e38d..8df8d01 100644 --- a/windows/resource.rc +++ b/windows/resource.rc @@ -1,4 +1,6 @@ #include +#include #include "resource.h" +IDI_MANIFEST RT_MANIFEST "mkxp.exe.manifest" IDI_APPICON ICON "icon.ico"