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/es2/perftst | |
parent | 9a9f75a43f6c21d35bd5b59c4254e64331ce33ec (diff) |
Fixes for latest jogl/gluegen (FileUtil/Locator -> IOUtil)
Diffstat (limited to 'src/demos/es2/perftst')
-rwxr-xr-x | src/demos/es2/perftst/PerfTextLoad.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demos/es2/perftst/PerfTextLoad.java b/src/demos/es2/perftst/PerfTextLoad.java index e0a6e2e..670f4c9 100755 --- a/src/demos/es2/perftst/PerfTextLoad.java +++ b/src/demos/es2/perftst/PerfTextLoad.java @@ -1,5 +1,7 @@ package demos.es2.perftst; +import com.jogamp.common.util.IOUtil; + import java.nio.*; import java.io.*; import java.net.*; @@ -36,7 +38,7 @@ public class PerfTextLoad extends PerfModule { try { for(int i=0; i<numObjs; i++) { textName = "data/"+textBaseName+"."+(i+1)+".tga"; - URL urlText = Locator.getResource(Perftst.class, textName); + URL urlText = IOUtil.getResource(Perftst.class, textName); if(urlText==null) { throw new RuntimeException("couldn't fetch "+textName); } |