diff --git a/modules/juce_opengl/native/juce_OpenGL_ios.h b/modules/juce_opengl/native/juce_OpenGL_ios.h index dc3352cb6f..4b0bb4e2ca 100644 --- a/modules/juce_opengl/native/juce_OpenGL_ios.h +++ b/modules/juce_opengl/native/juce_OpenGL_ios.h @@ -66,6 +66,8 @@ public: view.userInteractionEnabled = NO; glLayer = (CAEAGLLayer*) [view layer]; + glLayer.contentsScale = Desktop::getInstance().getDisplays().getMainDisplay().scale; + [((UIView*) peer->getNativeHandle()) addSubview: view]; context = [EAGLContext alloc];