confirmed that the new JOGL release fixes #124, removes workaround

This commit is contained in:
Ben Fry
2021-01-17 19:39:30 -05:00
parent 36263a04bc
commit fac8a8e556
2 changed files with 4 additions and 15 deletions
+1 -13
View File
@@ -114,9 +114,6 @@ public class PSurfaceJOGL implements PSurface {
protected boolean external = false;
// Workaround for https://github.com/processing/processing4/issues/124
static private boolean issue124 = PApplet.platform == PConstants.MACOS;
public PSurfaceJOGL(PGraphics graphics) {
this.graphics = graphics;
@@ -411,11 +408,7 @@ public class PSurfaceJOGL implements PSurface {
window.setSurfaceScale(new float[] { surfaceScale, surfaceScale });
window.setSize(sketchWidth * windowScaleFactor, sketchHeight * windowScaleFactor);
if (issue124) {
window.setResizable(true);
} else {
window.setResizable(false);
}
window.setResizable(false);
setSize(sketchWidth, sketchHeight);
if (fullScreen) {
PApplet.hideMenuBar();
@@ -956,11 +949,6 @@ public class PSurfaceJOGL implements PSurface {
pgl.endRender(sketch.sketchWindowColor());
}
PGraphicsOpenGL.completeFinishedPixelTransfers();
if (issue124) {
setResizable(false);
issue124 = false;
}
}
if (sketch.exitCalled()) {
+3 -2
View File
@@ -8,6 +8,9 @@ X SVG Export
X update Batik to 1.13 (from 1.8)
X download it via direct link (don't check into repo)
X fixes incompatibilities with org.w3c.dom and Java 11
X JDK 11.0.7+ blank screen issue... workarounds/hacks in place, fix them:
X https://github.com/processing/processing4/issues/124
X fixed with the new JOGL RC
fixed in 4.x (close/lock these 3.x issues with final 4.0 release)
_ AppKit errors from P2D/P3D
@@ -31,8 +34,6 @@ _ Linux: https://github.com/processing/processing/issues/5912
_ why does GL flash red when resizing?
_ JDK 11.0.7+ blank screen issue... workarounds/hacks in place, fix them:
_ https://github.com/processing/processing4/issues/124
_ Skija bindings
_ https://github.com/processing/processing4/issues/151