diff --git a/modules/juce_opengl/native/juce_OpenGL_ios.h b/modules/juce_opengl/native/juce_OpenGL_ios.h index ee8e5ac46f..3ffac72ce9 100644 --- a/modules/juce_opengl/native/juce_OpenGL_ios.h +++ b/modules/juce_opengl/native/juce_OpenGL_ios.h @@ -154,9 +154,13 @@ public: if (openGLversion >= openGL3_2) { - glBlitFramebuffer (0, 0, lastBounds.getWidth(), lastBounds.getHeight(), - 0, 0, lastBounds.getWidth(), lastBounds.getHeight(), - GL_COLOR_BUFFER_BIT, GL_NEAREST); + auto w = roundToInt (lastBounds.getWidth() * glLayer.contentsScale); + auto h = roundToInt (lastBounds.getHeight() * glLayer.contentsScale); + + glBlitFramebuffer (0, 0, w, h, + 0, 0, w, h, + GL_COLOR_BUFFER_BIT, + GL_NEAREST); } else {