mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
pixelDensity (OpenGL): make sure sketch pixel size is initialized
This commit is contained in:
@@ -390,6 +390,8 @@ public class PSurfaceJOGL implements PSurface {
|
||||
sketchHeight = screenRect.height;
|
||||
}
|
||||
|
||||
sketch.setSize(sketchWidth, sketchHeight);
|
||||
|
||||
float[] reqSurfacePixelScale;
|
||||
if (graphics.is2X()) {
|
||||
// Retina
|
||||
|
||||
Reference in New Issue
Block a user