mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1248 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
53a5fe5053
commit
0e8f1f393b
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