From 69d8be50a2ed4078a66011317ef8bd94377cdf57 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Sun, 26 Jun 2011 13:52:03 +0200
Subject: Fixes for latest jogl/gluegen (FileUtil/Locator -> IOUtil)

---
 src/demos/es2/perftst/PerfTextLoad.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/demos/es2/perftst')

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);
                 }
-- 
cgit v1.2.3