mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
confirmed that the new JOGL release fixes #124, removes workaround
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user