summaryrefslogtreecommitdiffstats
path: root/src/demos/es2
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2')
-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]);
}