mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Avoid setting the process DPI-awareness in plug-ins on older versions of Windows
This commit is contained in:
parent
76c741e09b
commit
eb3a90e081
1 changed files with 3 additions and 0 deletions
|
|
@ -404,6 +404,9 @@ static void setDPIAwareness()
|
|||
return;
|
||||
}
|
||||
|
||||
if (! JUCEApplicationBase::isStandaloneApp())
|
||||
return;
|
||||
|
||||
// fallback for pre Windows 8.1 - equivalent to Process_System_DPI_Aware
|
||||
setProcessDPIAware = (SetProcessDPIAwareFunc) getUser32Function ("SetProcessDPIAware");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue