mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Merge pull request #688 from bruceoutdoors/master
Fixed compilation error in VS2013 64bit
This commit is contained in:
commit
20bf0e0b9c
@ -101,7 +101,7 @@ namespace
|
|||||||
if (user32Dll)
|
if (user32Dll)
|
||||||
{
|
{
|
||||||
typedef BOOL (WINAPI* SetProcessDPIAwareFuncType)(void);
|
typedef BOOL (WINAPI* SetProcessDPIAwareFuncType)(void);
|
||||||
SetProcessDPIAwareFuncType SetProcessDPIAwareFunc = GetProcAddress(user32Dll, "SetProcessDPIAware");
|
SetProcessDPIAwareFuncType SetProcessDPIAwareFunc = reinterpret_cast<SetProcessDPIAwareFuncType>(GetProcAddress(user32Dll, "SetProcessDPIAware"));
|
||||||
|
|
||||||
if (SetProcessDPIAwareFunc)
|
if (SetProcessDPIAwareFunc)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user