summaryrefslogtreecommitdiffstats
path: root/src/demos/texture
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/texture
parent9a9f75a43f6c21d35bd5b59c4254e64331ce33ec (diff)
Fixes for latest jogl/gluegen (FileUtil/Locator -> IOUtil)
Diffstat (limited to 'src/demos/texture')
-rwxr-xr-xsrc/demos/texture/TextureConvert.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/texture/TextureConvert.java b/src/demos/texture/TextureConvert.java
index 7967416..cd198e0 100755
--- a/src/demos/texture/TextureConvert.java
+++ b/src/demos/texture/TextureConvert.java
@@ -39,7 +39,7 @@
package demos.texture;
-import com.jogamp.opengl.util.FileUtil;
+import com.jogamp.common.util.IOUtil;
import com.jogamp.opengl.util.texture.Texture;
import com.jogamp.opengl.util.texture.TextureData;
import com.jogamp.opengl.util.texture.TextureIO;
@@ -84,7 +84,7 @@ public class TextureConvert {
GL gl = pbuffer.getGL();
boolean attemptCompression = false;
- if (TextureIO.DDS.equals(FileUtil.getFileSuffix(outputFile))) {
+ if (TextureIO.DDS.equals(IOUtil.getFileSuffix(outputFile))) {
if (gl.isExtensionAvailable("GL_EXT_texture_compression_s3tc") ||
gl.isExtensionAvailable("GL_NV_texture_compression_vtc")) {
attemptCompression = true;