summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);