mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 08:31:03 +00:00
sys_sdl_win.c: fix calling conventions for SetProcessDpiAware[ness]. Was getting a runtime error about that when compiling with VS2015.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1248 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
442e6c9d77
commit
a4f3ef53d9
1 changed files with 2 additions and 2 deletions
|
@ -175,8 +175,8 @@ static void Sys_GetBasedir (char *argv0, char *dst, size_t dstsize)
|
|||
}
|
||||
|
||||
typedef enum { dpi_unaware = 0, dpi_system_aware = 1, dpi_monitor_aware = 2 } dpi_awareness;
|
||||
typedef BOOL(*SetProcessDPIAwareFunc)();
|
||||
typedef HRESULT(*SetProcessDPIAwarenessFunc)(dpi_awareness value);
|
||||
typedef BOOL (WINAPI *SetProcessDPIAwareFunc)();
|
||||
typedef HRESULT (WINAPI *SetProcessDPIAwarenessFunc)(dpi_awareness value);
|
||||
|
||||
static void Sys_SetDPIAware (void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue