mirror of
https://github.com/minetest/minetest.git
synced 2025-06-30 07:00:23 +02:00
Implement DPI scaling for Windows (#9586)
This commit is contained in:
@ -8,8 +8,8 @@
|
||||
</security>
|
||||
</trustInfo>
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
<windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||
<dpiAware>true</dpiAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include <windows.h>
|
||||
#include <winuser.h>
|
||||
#include <commctrl.h>
|
||||
#include <richedit.h>
|
||||
|
||||
#ifndef USE_CMAKE_CONFIG_H
|
||||
#define USE_CMAKE_CONFIG_H
|
||||
#endif
|
||||
@ -13,6 +15,10 @@
|
||||
#define BUILDMODE "RUN_IN_PLACE=0"
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "minetest.exe.manifest"
|
||||
#endif
|
||||
|
||||
LANGUAGE 0, SUBLANG_NEUTRAL
|
||||
130 ICON "minetest-icon.ico"
|
||||
|
||||
|
Reference in New Issue
Block a user