diff options
Diffstat (limited to 'src/demos/misc/TiledRendering.java')
-rwxr-xr-x | src/demos/misc/TiledRendering.java | 4 |
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?)"); } } |