diff --git a/modules/juce_opengl/native/juce_OpenGL_win32.h b/modules/juce_opengl/native/juce_OpenGL_win32.h index 15ed2154ba..19cef8ab6c 100644 --- a/modules/juce_opengl/native/juce_OpenGL_win32.h +++ b/modules/juce_opengl/native/juce_OpenGL_win32.h @@ -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: