mirror of https://github.com/encounter/SDL.git
add DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED define
This commit is contained in:
parent
1b797957c1
commit
448e05e3c8
|
@ -115,11 +115,14 @@ DECLARE_HANDLE(DPI_AWARENESS_CONTEXT);
|
||||||
|
|
||||||
/* Windows 10 Creators Update */
|
/* Windows 10 Creators Update */
|
||||||
#if NTDDI_VERSION < 0x0A000003
|
#if NTDDI_VERSION < 0x0A000003
|
||||||
|
|
||||||
#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 ((DPI_AWARENESS_CONTEXT)-4)
|
#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 ((DPI_AWARENESS_CONTEXT)-4)
|
||||||
|
|
||||||
#endif /* NTDDI_VERSION < 0x0A000003 */
|
#endif /* NTDDI_VERSION < 0x0A000003 */
|
||||||
|
|
||||||
|
/* Windows 10 version 1809 */
|
||||||
|
#if NTDDI_VERSION < 0x0A000006
|
||||||
|
#define DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED ((DPI_AWARENESS_CONTEXT)-5)
|
||||||
|
#endif /* NTDDI_VERSION < 0x0A000006 */
|
||||||
|
|
||||||
typedef BOOL (*PFNSHFullScreen)(HWND, DWORD);
|
typedef BOOL (*PFNSHFullScreen)(HWND, DWORD);
|
||||||
typedef void (*PFCoordTransform)(SDL_Window*, POINT*);
|
typedef void (*PFCoordTransform)(SDL_Window*, POINT*);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue