diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index b314ad451..0649e389e 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -390,6 +390,8 @@ public class PSurfaceJOGL implements PSurface { sketchHeight = screenRect.height; } + sketch.setSize(sketchWidth, sketchHeight); + float[] reqSurfacePixelScale; if (graphics.is2X()) { // Retina