diff options
author | Sven Gothel <[email protected]> | 2023-03-22 16:55:04 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-22 16:55:04 +0100 |
commit | a5d593478afa2298282a0624b2490fde84c3a292 (patch) | |
tree | 9a995fe24f8617e42a75475d0755e5da1944ebdb /src/demos | |
parent | 960af62429aef3ec573a7f6fa3ed6b0f5552376f (diff) |
Graph Font Processing: Use Font.GlyphVisitor instead of OutlineShape.Visitor, allowing to use the Glyph (information).
Diffstat (limited to 'src/demos')
-rw-r--r-- | src/demos/com/jogamp/opengl/demos/graph/GPUTextNewtDemo.java | 8 |
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")) { |