Enable DPI awareness on Windows platform
This commit is contained in:
parent
452b78ef42
commit
df1c09235f
1 changed files with 2 additions and 0 deletions
|
|
@ -761,6 +761,8 @@ VulkanExampleBase::VulkanExampleBase(bool enableValidation)
|
|||
{
|
||||
setupConsole("Vulkan validation output");
|
||||
}
|
||||
|
||||
SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_SYSTEM_AWARE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue