aboutsummaryrefslogtreecommitdiffstats
path: root/src/demos/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-22 16:55:04 +0100
committerSven Gothel <[email protected]>2023-03-22 16:55:04 +0100
commita5d593478afa2298282a0624b2490fde84c3a292 (patch)
tree9a995fe24f8617e42a75475d0755e5da1944ebdb /src/demos/com/jogamp/opengl
parent960af62429aef3ec573a7f6fa3ed6b0f5552376f (diff)
Graph Font Processing: Use Font.GlyphVisitor instead of OutlineShape.Visitor, allowing to use the Glyph (information).
Diffstat (limited to 'src/demos/com/jogamp/opengl')
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/GPUTextNewtDemo.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/GPUTextNewtDemo.java b/src/demos/com/jogamp/opengl/demos/graph/GPUTextNewtDemo.java
index 3f60ef8a2..bbdf4bfbb 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/GPUTextNewtDemo.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/GPUTextNewtDemo.java
@@ -72,20 +72,20 @@ public class GPUTextNewtDemo {
int width = 800, height = 400;
int x = 10, y = 10;
if( 0 != args.length ) {
- SceneMSAASamples = 0;
- GraphMSAASamples = 0;
- GraphVBAASamples = 0;
-
for(int i=0; i<args.length; i++) {
if(args[i].equals("-smsaa")) {
i++;
SceneMSAASamples = MiscUtils.atoi(args[i], SceneMSAASamples);
+ GraphMSAASamples = 0;
+ GraphVBAASamples = 0;
} else if(args[i].equals("-gmsaa")) {
i++;
+ SceneMSAASamples = 0;
GraphMSAASamples = MiscUtils.atoi(args[i], GraphMSAASamples);
GraphVBAASamples = 0;
} else if(args[i].equals("-gvbaa")) {
i++;
+ SceneMSAASamples = 0;
GraphMSAASamples = 0;
GraphVBAASamples = MiscUtils.atoi(args[i], GraphVBAASamples);
} else if(args[i].equals("-width")) {