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/util | |
parent | 9a9f75a43f6c21d35bd5b59c4254e64331ce33ec (diff) |
Fixes for latest jogl/gluegen (FileUtil/Locator -> IOUtil)
Diffstat (limited to 'src/demos/util')
-rwxr-xr-x | src/demos/util/Cubemap.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/util/Cubemap.java b/src/demos/util/Cubemap.java index 5ceab82..abca371 100755 --- a/src/demos/util/Cubemap.java +++ b/src/demos/util/Cubemap.java @@ -39,7 +39,7 @@ package demos.util; -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; @@ -72,7 +72,7 @@ public class Cubemap { String resourceName = basename + suffixes[i] + "." + suffix; TextureData data = TextureIO.newTextureData(GLContext.getCurrentGL().getGLProfile(), scope.getResourceAsStream(resourceName), mipmapped, - FileUtil.getFileSuffix(resourceName)); + IOUtil.getFileSuffix(resourceName)); if (data == null) { throw new IOException("Unable to load texture " + resourceName); } |