summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-12-30 16:26:15 +0000
committerKenneth Russel <[email protected]>2008-12-30 16:26:15 +0000
commit1d405f769aa58c2987c01f5fbbdddca695e8a7e2 (patch)
tree9d741406118ade2685e86457e92c57badaf76ba3
parentd8749bb11e948516a69d85a03be66cc4ef74b1d3 (diff)
Renamed TileRenderer back to JOGL 1.0 naming convention. Updated demos.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@309 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rwxr-xr-xsrc/demos/misc/TiledRendering.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/misc/TiledRendering.java b/src/demos/misc/TiledRendering.java
index 2c55db9..2743b07 100755
--- a/src/demos/misc/TiledRendering.java
+++ b/src/demos/misc/TiledRendering.java
@@ -2,7 +2,7 @@ package demos.misc;
import com.sun.opengl.impl.io.FileUtil;
import com.sun.opengl.util.awt.ImageUtil;
-import com.sun.opengl.util.gl2.GL2TileRenderer;
+import com.sun.opengl.util.gl2.TileRenderer;
import com.sun.opengl.util.io.TGAWriter;
import demos.gears.Gears;
import java.awt.image.BufferedImage;
@@ -73,7 +73,7 @@ public class TiledRendering {
}
// Initialize the tile rendering library
- GL2TileRenderer renderer = new GL2TileRenderer();
+ TileRenderer renderer = new TileRenderer();
renderer.setTileSize(tileWidth, tileHeight, 0);
renderer.setImageSize(imageWidth, imageHeight);
renderer.setImageBuffer(GL2.GL_BGR, GL.GL_UNSIGNED_BYTE, buf);