diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index eff3aa4f..552817e1 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -998,7 +998,7 @@ void VulkanExampleBase::setupConsole(std::string title) void VulkanExampleBase::setupDPIAwareness() { - using SetProcessDpiAwarenessFunc = HRESULT(*)(PROCESS_DPI_AWARENESS); + typedef HRESULT *(__stdcall *SetProcessDpiAwarenessFunc)(PROCESS_DPI_AWARENESS); HMODULE shCore = LoadLibraryA("Shcore.dll"); if (shCore)