aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-01-28 07:18:12 +0100
committerSven Göthel <[email protected]>2024-01-28 07:18:12 +0100
commitd537f28ca05e1ae5d611cc3d30ca9c54137d599f (patch)
tree5764d4aadb6d8760e30687e7a367037fa06e6391
parent36c3176264db381d23678ee5631bf4a3f1b86c7d (diff)
GraphUI Demos: Disable debug toggles
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java2
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java
index c43ed09f0..d6d34b366 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java
@@ -302,7 +302,7 @@ public class FontView01 {
null,
new SliderParam( new Vec2f(glyphGridCellSize/4f, glyphGridSize.y()), glyphGridCellSize/10f, true ) );
glyphView.getVertSlider().setColor(0.3f, 0.3f, 0.3f, 0.7f).setName("GlyphView");
- if( VERBOSE_UI || true ) {
+ if( VERBOSE_UI ) {
glyphView.getVertSlider().addSliderListener(new SliderAdapter() {
@Override
public void dragged(final RangeSlider w, final float old_val, final float val, final float old_val_pct, final float val_pct) {
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java
index e297200cb..20c2dc5be 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java
@@ -84,7 +84,7 @@ public class UIMediaGrid01 {
static CommandlineOptions options = new CommandlineOptions(1280, 720, Region.VBAA_RENDERING_BIT);
- private static final boolean VERBOSE_UI = true;
+ private static final boolean VERBOSE_UI = false;
private static final List<String> MEDIA_SUFFIXES = Arrays.asList("mp4", "mkv", "m2v", "avi");
private static int aid = GLMediaPlayer.STREAM_ID_AUTO;
private static float videoAspectRatio = 16f/9f;