myExample icon indicating copy to clipboard operation
myExample copied to clipboard

Reading back only luminance or RGB

Open crearo opened this issue 5 years ago • 0 comments

PboJni.glReadPixels(0, 0, rowStride / pixelStride, inputHeight, GLES30.GL_RGB, GLES30.GL_UNSIGNED_BYTE);

doesn't work for me. I changed the pixel stride to 3 for RGB, and I keep getting W: [SurfaceTexture-1-10470-0] bindTextureImage: clearing GL error: 0x502

Do you know what could be wrong?

crearo avatar Sep 19 '18 14:09 crearo