1
0
Fork 0
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:
ed 2019-05-21 16:43:03 +01:00
parent 76c741e09b
commit eb3a90e081

View file

@ -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");