summaryrefslogtreecommitdiffstats
path: root/src/demos/texture
diff options
context:
space:
mode:
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;