Or we just disable stupid highdpi...

This commit is contained in:
def 2017-07-09 14:50:10 +02:00
parent 46cedf3a8c
commit afe8b4dfbe
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
<dpiAware>false</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>

View file

@ -1,2 +1,2 @@
#include "winuser.h"
2 RT_MANIFEST DDNet.manifest
2 RT_MANIFEST "DDNet.exe.manifest"

View file

@ -603,7 +603,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt
}
// set flags
int SdlFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI;
int SdlFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN;
#if defined(SDL_VIDEO_DRIVER_X11)
if(Flags&IGraphicsBackend::INITFLAG_RESIZABLE)
SdlFlags |= SDL_WINDOW_RESIZABLE;