mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Fixed an OpenGL bug in non-DPI aware windows with a global scale factor != 1.0
This commit is contained in:
parent
77c8a873f3
commit
ba68fb0212
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ public:
|
|||
if (nativeWindow != nullptr && shouldScaleGLWindow (nativeWindow->getNativeHandle()))
|
||||
return Desktop::getInstance().getDisplays().findDisplayForRect (screenBounds).scale;
|
||||
|
||||
return 1.0;
|
||||
return Desktop::getInstance().getGlobalScaleFactor();
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue