From 4a457c98983b4f58c2a639f49ef9e79beaecd5c0 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 26 Mar 2010 19:24:35 +0100 Subject: fixed compiler error in TextureRenderer. --- src/jogl/classes/com/sun/opengl/util/awt/TextureRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3