aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorphil <[email protected]>2016-11-01 13:22:43 +1300
committerphil <[email protected]>2016-11-01 13:22:43 +1300
commit2b7a0a32932326a1822c0712161c3a28b2d15c8c (patch)
tree4982caaa47af0e608f09fbb1acda721a992cee46 /src/main
parent706ba43dbfd528fea7a1bc1eeafdacfee39899a5 (diff)
Advice for System.setProperty("sun.java2d.noddraw", "true") improved
Hopefully sun.awt.nopixfmt true will solve the problem and not cause others
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java3
-rw-r--r--src/main/java/org/jogamp/java3d/JoglPipeline.java3
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