aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-26 19:24:35 +0100
committerMichael Bien <[email protected]>2010-03-26 19:24:35 +0100
commit4a457c98983b4f58c2a639f49ef9e79beaecd5c0 (patch)
tree4dc9849ec9e5a4eb5373af41575cfe8582415eb4 /src
parent138a5b057e39a4738a2e82f370424a9a21aceea9 (diff)
fixed compiler error in TextureRenderer.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/jogl/classes/com/sun/opengl/util/awt/TextureRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/sun/opengl/util/awt/TextureRenderer.java b/src/jogl/classes/com/sun/opengl/util/awt/TextureRenderer.java
index 1f6393d39..86ea1dbc7 100755
--- a/src/jogl/classes/com/sun/opengl/util/awt/TextureRenderer.java
+++ b/src/jogl/classes/com/sun/opengl/util/awt/TextureRenderer.java
@@ -631,7 +631,7 @@ public class TextureRenderer {
// BufferedImage; it's just a reference to the contents but we
// need it in order to update sub-regions of the underlying
// texture
- textureData = new AWTTextureData(internalFormat, 0, mipmap, image);
+ textureData = new AWTTextureData(gl.getGLProfile(), internalFormat, 0, mipmap, image);
// For now, always reallocate the underlying OpenGL texture when
// the backing store size changes
mustReallocateTexture = true;