diff options
author | Sven Gothel <[email protected]> | 2009-10-05 03:46:59 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-05 03:46:59 -0700 |
commit | b737b3b5efa42136f5b5348e09e2e592b4fc9863 (patch) | |
tree | 3fbdd37688e1852c88456a7f79c77c8d189c6470 /src/demos/readbuffer/ReadBufferUtil.java | |
parent | 7997824464198164a74f4d20620d2f432578024c (diff) |
Fix ReadBuffer ..
Diffstat (limited to 'src/demos/readbuffer/ReadBufferUtil.java')
-rwxr-xr-x | src/demos/readbuffer/ReadBufferUtil.java | 3 |
1 files changed, 2 insertions, 1 deletions
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, |