summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer/ReadBufferUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/readbuffer/ReadBufferUtil.java')
-rwxr-xr-xsrc/demos/readbuffer/ReadBufferUtil.java3
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,