Bindtexture image clearing gl error 0x502
AntMarq opened this issue · 3 comments
AntMarq commented
Hi,
When I run your project, I have a warning about the bindTexture. Your project works but I want to understand why I have this warning.
08-29 13:18:02.520: W/GLConsumer(17697): [unnamed-17697-0] bindTextureImage: clearing GL error: 0x502
Can you explain this please ?
Thanks.
EDIT : Warnings appears only for SDK > 4.2
caiobalthazar commented
I believe this problem can be fixed replacing this line
by this
GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mCameraTexture.getTextureId());
And adding the import.
songdings commented
only appears for sdk=4.2.2 HUAWEI
RummanUK commented
only appears for sdk=4.2.2 HUAWEI
Also having issue with Oppo phones