summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/perftst
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-26 20:00:46 +0100
committerSven Gothel <[email protected]>2010-03-26 20:00:46 +0100
commitd1dfb4a367b3fa2350122a9623e3f1b56210a86e (patch)
tree9d3b4bc39d8cb7ff8c9dadeb291e435d9ad6cdd0 /src/demos/es2/perftst
parent08d7de9c49d6bd778d0a915731ae9edbafdf646c (diff)
Adapted JOGL TextureData API changes (138a5b057e39a4738a2e82f370424a9a21aceea9)
Diffstat (limited to 'src/demos/es2/perftst')
-rwxr-xr-xsrc/demos/es2/perftst/PerfTextLoad.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es2/perftst/PerfTextLoad.java b/src/demos/es2/perftst/PerfTextLoad.java
index 55aad9a..b22266a 100755
--- a/src/demos/es2/perftst/PerfTextLoad.java
+++ b/src/demos/es2/perftst/PerfTextLoad.java
@@ -40,7 +40,7 @@ public class PerfTextLoad extends PerfModule {
if(urlText==null) {
throw new RuntimeException("couldn't fetch "+textName);
}
- textDatas[i] = TextureIO.newTextureData(urlText.openStream(), false, TextureIO.TGA);
+ textDatas[i] = TextureIO.newTextureData(gl.getGLProfile(), urlText.openStream(), false, TextureIO.TGA);
System.out.println(textBaseName+": "+textDatas[i]);
}