Skip to content

Reading back only luminance or RGB #4

@crearo

Description

@crearo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions