summaryrefslogtreecommitdiffstats
path: root/src/demos/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/com/jogamp')
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/util/GraphUIDemoArgs.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/util/GraphUIDemoArgs.java b/src/demos/com/jogamp/opengl/demos/graph/ui/util/GraphUIDemoArgs.java
index 93fa2da37..fe716419a 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/util/GraphUIDemoArgs.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/util/GraphUIDemoArgs.java
@@ -41,6 +41,10 @@ public class GraphUIDemoArgs {
public int sceneMSAASamples = 0;
public float debugBoxThickness = 0f;
+ static {
+ GLProfile.initSingleton(); // ensure JOGL is completely initialized
+ }
+
public GraphUIDemoArgs(final int width, final int height, final int renderModes) {
this.surface_width = width;
this.surface_height = height;