diff options
author | Sven Gothel <[email protected]> | 2011-06-26 13:52:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-06-26 13:52:03 +0200 |
commit | 69d8be50a2ed4078a66011317ef8bd94377cdf57 (patch) | |
tree | ba85e1c24332dbaaa34ef028f51e27a4fa0b7692 /src/demos/misc/TiledRendering.java | |
parent | 9a9f75a43f6c21d35bd5b59c4254e64331ce33ec (diff) |
Fixes for latest jogl/gluegen (FileUtil/Locator -> IOUtil)
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?)"); } } |