d3alek / Texample2

Rendering Text in OpenGL ES 2 on Android
Other
83 stars 33 forks source link

Getting glError 1281 and bindTextureImage errors when drawing text #10

Open visyan opened 5 years ago

visyan commented 5 years ago

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

johanforslund commented 5 years ago

I'm getting the same error. Did you find a solution?