diff options
author | Sven Gothel <[email protected]> | 2010-03-26 20:00:46 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-03-26 20:00:46 +0100 |
commit | d1dfb4a367b3fa2350122a9623e3f1b56210a86e (patch) | |
tree | 9d3b4bc39d8cb7ff8c9dadeb291e435d9ad6cdd0 /src/demos/texture/TestSubImage.java | |
parent | 08d7de9c49d6bd778d0a915731ae9edbafdf646c (diff) |
Adapted JOGL TextureData API changes (138a5b057e39a4738a2e82f370424a9a21aceea9)
Diffstat (limited to 'src/demos/texture/TestSubImage.java')
-rwxr-xr-x | src/demos/texture/TestSubImage.java | 2 |
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); } |