From d1dfb4a367b3fa2350122a9623e3f1b56210a86e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 26 Mar 2010 20:00:46 +0100 Subject: Adapted JOGL TextureData API changes (138a5b057e39a4738a2e82f370424a9a21aceea9) --- src/demos/readbuffer/ReadBufferUtil.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/demos/readbuffer') diff --git a/src/demos/readbuffer/ReadBufferUtil.java b/src/demos/readbuffer/ReadBufferUtil.java index 1e79915..bef8473 100755 --- a/src/demos/readbuffer/ReadBufferUtil.java +++ b/src/demos/readbuffer/ReadBufferUtil.java @@ -64,6 +64,7 @@ public class ReadBufferUtil { readPixelSizeLast = readPixelSize ; try { readTextureData = new TextureData( + gl.getGLProfile(), // gl.isGL2GL3()?gl.GL_RGBA:gl.GL_RGB, gl.GL_RGB, drawable.getWidth(), drawable.getHeight(), -- cgit v1.2.3