From 4da1dead29db175817053837d7a685f10c3212b4 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 13 Jan 2006 07:29:40 +0000 Subject: Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved TextureIO-related classes to com.sun.opengl.util.texture and TextureProvider, TextureWriter and format-specific readers to com.sun.opengl.util.texture.spi. Renamed BufferUtils to BufferUtil. Added ImageUtil and FileUtil. Cleaned up javadoc. Updated demos. Cleaned up some imports. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@165 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/texture/TextureConvert.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/demos/texture/TextureConvert.java') diff --git a/src/demos/texture/TextureConvert.java b/src/demos/texture/TextureConvert.java index b0c6bbd..f4af495 100755 --- a/src/demos/texture/TextureConvert.java +++ b/src/demos/texture/TextureConvert.java @@ -43,7 +43,8 @@ import java.io.*; import javax.media.opengl.*; import javax.media.opengl.glu.*; -import com.sun.opengl.utils.*; +import com.sun.opengl.util.*; +import com.sun.opengl.util.texture.*; /** Demonstrates how the TextureIO subsystem may be used to convert textures between multiple file formats, including texture @@ -72,7 +73,7 @@ public class TextureConvert { GL gl = pbuffer.getGL(); boolean attemptCompression = false; - if (TextureIO.DDS.equals(TextureIO.getFileSuffix(outputFile))) { + if (TextureIO.DDS.equals(FileUtil.getFileSuffix(outputFile))) { if (gl.isExtensionAvailable("GL_EXT_texture_compression_s3tc") || gl.isExtensionAvailable("GL_NV_texture_compression_vtc")) { attemptCompression = true; -- cgit v1.2.3