summaryrefslogtreecommitdiffstats
path: root/src/demos/texture/TestSubImage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/texture/TestSubImage.java')
-rwxr-xr-xsrc/demos/texture/TestSubImage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/texture/TestSubImage.java b/src/demos/texture/TestSubImage.java
index 0024e50..bf1e936 100755
--- a/src/demos/texture/TestSubImage.java
+++ b/src/demos/texture/TestSubImage.java
@@ -139,7 +139,7 @@ public class TestSubImage {
g.dispose();
// Create a TextureData and Texture from it
- textureData = AWTTextureIO.newTextureData(convertedImage, false);
+ textureData = AWTTextureIO.newTextureData(gl.getGLProfile(), convertedImage, false);
texture = TextureIO.newTexture(textureData);
}