mirror of https://github.com/encounter/SDL.git
Fix compilation error for Windows SDK 8.1+
https://docs.microsoft.com/en-us/windows/win32/api/shellscalingapi/ne-shellscalingapi-monitor_dpi_type
This commit is contained in:
parent
9634070bad
commit
3dbc4cf233
|
@ -85,6 +85,8 @@ typedef enum MONITOR_DPI_TYPE {
|
|||
MDT_DEFAULT = MDT_EFFECTIVE_DPI
|
||||
} MONITOR_DPI_TYPE;
|
||||
|
||||
#else
|
||||
#include <shellscalingapi.h>
|
||||
#endif /* WINVER < 0x0603 */
|
||||
|
||||
typedef BOOL (*PFNSHFullScreen)(HWND, DWORD);
|
||||
|
|
Loading…
Reference in New Issue