aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-09-03 02:30:07 +0200
committerSven Gothel <[email protected]>2023-09-03 02:30:07 +0200
commitc059585e246ed707ba490f9d2bae3a8b90e949a7 (patch)
tree61349e65c273e16a0f0a0a31998f28a968c81d36 /src/test/com
parentef63d2e288fe47762d9cf743d11cd01f8d255349 (diff)
GraphUI Scene: Pass sampleCount in ctor variant and refine API doc, clip to [1..8]; Add clarity in Region; Demos CommandlineOptions adds actual graphAASamples set and utilized
Diffstat (limited to 'src/test/com')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/FontViewListener01.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/FontViewListener01.java b/src/test/com/jogamp/opengl/test/junit/graph/FontViewListener01.java
index 36cb41654..684e0c78a 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/FontViewListener01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/FontViewListener01.java
@@ -63,8 +63,7 @@ public class FontViewListener01 implements GLEventListener {
this.startGlyphID = startGlyphID;
this.font = font;
- scene = new Scene();
- scene.setSampleCount(graphSampleCount);
+ scene = new Scene(graphSampleCount);
scene.setClearParams(new float[] { 1f, 1f, 1f, 1f}, GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
scene.setFrustumCullingEnabled(true);
}