Texample2
Texample2 copied to clipboard
Getting glError 1281 and bindTextureImage errors when drawing text
Hi,
I'm trying to incorporate GLText rendering in my app in combination with ARCore rendering (using BackgroundRenderer, PlaneRenderer, ObjectRenderer, for reference: https://github.com/google-ar/arcore-android-sdk/tree/master/samples/hello_ar_java/app/src/main/java/com/google/ar/core/examples/java/common/rendering)
I've tried several things, like changing the order of rendering, disabling depth test, etc.. Nothing seems to help.
These are the error appearing in the log:
W/GLConsumer: [SurfaceTexture--1-7652-1] bindTextureImage: clearing GL error: 0x501
E/ARCoreVideoRenderer: Exception on the OpenGL thread java.lang.RuntimeException: Draw: glError 1281
Any ideas as to what might cause this? Could this be some kind of texture conflict?
Fyi, this is on a Samsung S8, Android 8.0.0
I'm getting the same error. Did you find a solution?