summaryrefslogtreecommitdiffstats
path: root/src/demo/GPURegionNewtDemo01.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-03-30 07:28:56 +0200
committerSven Gothel <[email protected]>2011-03-30 07:28:56 +0200
commite952e7dbac7a6b746b8465aa63423f1aa138ca27 (patch)
tree1734f6c93d166aa0c43a62eb896a6aefed5e2e2a /src/demo/GPURegionNewtDemo01.java
parent4644863fbf6e8223b7843c63f9c5466f34fc8eeb (diff)
Renamed Hw*Renderer -> *Renderer
Diffstat (limited to 'src/demo/GPURegionNewtDemo01.java')
-rwxr-xr-xsrc/demo/GPURegionNewtDemo01.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demo/GPURegionNewtDemo01.java b/src/demo/GPURegionNewtDemo01.java
index e2e47709e..d58d4148d 100755
--- a/src/demo/GPURegionNewtDemo01.java
+++ b/src/demo/GPURegionNewtDemo01.java
@@ -36,7 +36,7 @@ import javax.media.opengl.GLEventListener;
import javax.media.opengl.GLProfile;
import com.jogamp.graph.curve.OutlineShape;
-import com.jogamp.graph.curve.opengl.HwRegionRenderer;
+import com.jogamp.graph.curve.opengl.RegionRenderer;
import com.jogamp.graph.geom.opengl.SVertex;
import com.jogamp.newt.event.KeyEvent;
import com.jogamp.newt.event.KeyListener;
@@ -125,7 +125,7 @@ class RegionNewtWindow {
animator.start();
}
private class RegionGLListener implements GLEventListener{
- HwRegionRenderer regionRenderer = null;
+ RegionRenderer regionRenderer = null;
OutlineShape outlineShape = null;
@@ -172,7 +172,7 @@ class RegionNewtWindow {
GL2ES2 gl = drawable.getGL().getGL2ES2();
gl.setSwapInterval(1);
gl.glEnable(GL2ES2.GL_DEPTH_TEST);
- regionRenderer = new HwRegionRenderer(drawable.getContext());
+ regionRenderer = new RegionRenderer(drawable.getContext());
regionRenderer.setAlpha(1.0f);
regionRenderer.setColor(0.0f, 0.0f, 0.0f);
//gl.glSampleCoverage(0.95f, false);