From 2b7a0a32932326a1822c0712161c3a28b2d15c8c Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 1 Nov 2016 13:22:43 +1300 Subject: Advice for System.setProperty("sun.java2d.noddraw", "true") improved Hopefully sun.awt.nopixfmt true will solve the problem and not cause others --- src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java | 3 ++- src/main/java/org/jogamp/java3d/JoglPipeline.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java b/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java index b105cdc..8262521 100644 --- a/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java +++ b/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java @@ -6951,7 +6951,8 @@ class Jogl2es2Pipeline extends Jogl2es2DEPPipeline { System.err.println("Issue: Use of System.setProperty(\"sun.java2d.noddraw\", \"true\");"); System.err.println("or System.setProperty(\"sun.java2d.d3d\", \"false\");"); - System.err.println("If either of these are being used please try reversing or removing them."); + System.err.println("If either of these are being used please try either reversing or removing them,"); + System.err.println("or if they are required else where try adding System.setProperty(\"sun.awt.nopixfmt\", \"true\");"); } if (Platform.getOSName().equalsIgnoreCase("Windows 10") && //win10 diff --git a/src/main/java/org/jogamp/java3d/JoglPipeline.java b/src/main/java/org/jogamp/java3d/JoglPipeline.java index 29e9164..a89f84a 100644 --- a/src/main/java/org/jogamp/java3d/JoglPipeline.java +++ b/src/main/java/org/jogamp/java3d/JoglPipeline.java @@ -8115,7 +8115,8 @@ static boolean hasFBObjectSizeChanged(JoglDrawable jdraw, int width, int height) { System.err.println("Issue: Use of System.setProperty(\"sun.java2d.noddraw\", \"true\");"); System.err.println("or System.setProperty(\"sun.java2d.d3d\", \"false\");"); - System.err.println("If either of these are being used please try reversing or removing them."); + System.err.println("If either of these are being used please try either reversing or removing them,"); + System.err.println("or if they are required else where try adding System.setProperty(\"sun.awt.nopixfmt\", \"true\");"); } if (Platform.getOSName().equalsIgnoreCase("Windows 10") && //win10 -- cgit v1.2.3