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/proceduralTexturePhysics/Water.java | |
parent | 9a9f75a43f6c21d35bd5b59c4254e64331ce33ec (diff) |
Fixes for latest jogl/gluegen (FileUtil/Locator -> IOUtil)
Diffstat (limited to 'src/demos/proceduralTexturePhysics/Water.java')
-rw-r--r-- | src/demos/proceduralTexturePhysics/Water.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demos/proceduralTexturePhysics/Water.java b/src/demos/proceduralTexturePhysics/Water.java index 80de446..d62379b 100644 --- a/src/demos/proceduralTexturePhysics/Water.java +++ b/src/demos/proceduralTexturePhysics/Water.java @@ -33,7 +33,7 @@ package demos.proceduralTexturePhysics; -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; @@ -498,7 +498,7 @@ public class Water { initialMapData = TextureIO.newTextureData(glp, getClass().getClassLoader().getResourceAsStream(initialMapFilename), false, - FileUtil.getFileSuffix(initialMapFilename)); + IOUtil.getFileSuffix(initialMapFilename)); } catch (IOException e) { throw new GLException(e); } @@ -1038,9 +1038,9 @@ public class Water { initialMapTex = TextureIO.newTexture(initialMapData); spinTex = TextureIO.newTexture(getClass().getClassLoader().getResourceAsStream(spinFilename), false, - FileUtil.getFileSuffix(spinFilename)); + IOUtil.getFileSuffix(spinFilename)); dropletTex = TextureIO.newTexture(getClass().getClassLoader().getResourceAsStream(dropletFilename), false, - FileUtil.getFileSuffix(dropletFilename)); + IOUtil.getFileSuffix(dropletFilename)); // load the cubemap texture cubemap = Cubemap.loadFromStreams(gl, |