aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java4
-rw-r--r--src/main/java/org/jogamp/java3d/JoglPipeline.java4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java b/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java
index d27f276..934e9b8 100644
--- a/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java
+++ b/src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java
@@ -9388,6 +9388,10 @@ class Jogl2es2Pipeline extends Jogl2es2DEPPipeline
{
if (VERBOSE)
System.err.println("JoglPipeline.getBestConfiguration()");
+
+ //PJ this bug turns up in web start from 7u25 onwards, this fix should have been called from here from the beginning
+ // as getBestConfiguration calls new Component eventually where the bug surfaces
+ checkAppContext();
// Create a GLCapabilities based on the GraphicsConfigTemplate3D
final GLCapabilities caps = new GLCapabilities(profile);
diff --git a/src/main/java/org/jogamp/java3d/JoglPipeline.java b/src/main/java/org/jogamp/java3d/JoglPipeline.java
index 1a7543e..a7a05c7 100644
--- a/src/main/java/org/jogamp/java3d/JoglPipeline.java
+++ b/src/main/java/org/jogamp/java3d/JoglPipeline.java
@@ -8350,6 +8350,10 @@ static boolean hasFBObjectSizeChanged(JoglDrawable jdraw, int width, int height)
GraphicsConfiguration[] gc) {
if (VERBOSE) System.err.println("JoglPipeline.getBestConfiguration()");
+ //PJ this bug turns up in web start from 7u25 onwards, this fix should have been called from here from the beginning
+ // as getBestConfiguration calls new Component eventually where the bug surfaces
+ checkAppContext();
+
// Create a GLCapabilities based on the GraphicsConfigTemplate3D
final GLCapabilities caps = new GLCapabilities(profile);