From b737b3b5efa42136f5b5348e09e2e592b4fc9863 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 5 Oct 2009 03:46:59 -0700 Subject: Fix ReadBuffer .. --- src/demos/readbuffer/ReadBufferUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/demos/readbuffer/ReadBufferUtil.java') diff --git a/src/demos/readbuffer/ReadBufferUtil.java b/src/demos/readbuffer/ReadBufferUtil.java index 96f4b06..1e79915 100755 --- a/src/demos/readbuffer/ReadBufferUtil.java +++ b/src/demos/readbuffer/ReadBufferUtil.java @@ -64,7 +64,8 @@ public class ReadBufferUtil { readPixelSizeLast = readPixelSize ; try { readTextureData = new TextureData( - gl.GL_RGBA, + // gl.isGL2GL3()?gl.GL_RGBA:gl.GL_RGB, + gl.GL_RGB, drawable.getWidth(), drawable.getHeight(), 0, gl.GL_RGB, -- cgit v1.2.3