diff options
Diffstat (limited to 'src/demos/readbuffer/ReadBufferUtil.java')
-rwxr-xr-x | src/demos/readbuffer/ReadBufferUtil.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(), |