aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-03-30 14:47:19 +0200
committerSven Gothel <[email protected]>2011-03-30 14:47:19 +0200
commitd06d5596d18101c876c869a514e42e795ee9357c (patch)
tree5e92ea5709dbd199deb7d23ad6a6b2a557eb5ba6 /src
parentff32688c4520373468315b6dad4ec26f481bcd00 (diff)
Demo/Test: Use public API
Diffstat (limited to 'src')
-rw-r--r--src/demo/GPURegionRendererListenerBase01.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/demo/GPURegionRendererListenerBase01.java b/src/demo/GPURegionRendererListenerBase01.java
index 19742a17a..39a920656 100644
--- a/src/demo/GPURegionRendererListenerBase01.java
+++ b/src/demo/GPURegionRendererListenerBase01.java
@@ -27,9 +27,8 @@
*/
package demo;
-import jogamp.graph.curve.opengl.RegionRendererImpl01;
-
import com.jogamp.graph.curve.OutlineShape;
+import com.jogamp.graph.curve.opengl.RegionRenderer;
import com.jogamp.graph.geom.Vertex;
/**
@@ -48,6 +47,6 @@ public abstract class GPURegionRendererListenerBase01 extends GPURendererListene
OutlineShape outlineShape = null;
public GPURegionRendererListenerBase01(Vertex.Factory<? extends Vertex> factory, int mode, boolean debug, boolean trace) {
- super(new RegionRendererImpl01(factory, mode), debug, trace);
+ super(RegionRenderer.create(factory, mode), debug, trace);
}
} \ No newline at end of file