summaryrefslogtreecommitdiffstats
path: root/src/demos/misc
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-06-26 13:52:03 +0200
committerSven Gothel <[email protected]>2011-06-26 13:52:03 +0200
commit69d8be50a2ed4078a66011317ef8bd94377cdf57 (patch)
treeba85e1c24332dbaaa34ef028f51e27a4fa0b7692 /src/demos/misc
parent9a9f75a43f6c21d35bd5b59c4254e64331ce33ec (diff)
Fixes for latest jogl/gluegen (FileUtil/Locator -> IOUtil)
Diffstat (limited to 'src/demos/misc')
-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 e814610..86de0bb 100755
--- a/src/demos/misc/TiledRendering.java
+++ b/src/demos/misc/TiledRendering.java
@@ -1,6 +1,6 @@
package demos.misc;
-import com.jogamp.opengl.util.FileUtil;
+import com.jogamp.common.util.IOUtil;
import com.jogamp.opengl.util.TGAWriter;
import com.jogamp.opengl.util.awt.ImageUtil;
import com.jogamp.opengl.util.gl2.TileRenderer;
@@ -106,7 +106,7 @@ public class TiledRendering {
tga.close();
} else {
ImageUtil.flipImageVertically(img);
- if (!ImageIO.write(img, FileUtil.getFileSuffix(file), file)) {
+ if (!ImageIO.write(img, IOUtil.getFileSuffix(file), file)) {
System.err.println("Error writing file using ImageIO (unsupported file format?)");
}
}