Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GL error 0x501 messages when using GPUImageLookupFilter #537

Open
seriousidea opened this issue Oct 7, 2021 · 2 comments
Open

GL error 0x501 messages when using GPUImageLookupFilter #537

seriousidea opened this issue Oct 7, 2021 · 2 comments

Comments

@seriousidea
Copy link

seriousidea commented Oct 7, 2021

When using GPUImageLookupFilter, error messages appear in the log (as you can see in the photo). The first error message looks like this:

E/emuglGLESv2_enc: device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glEnableVertexAttribArray:872 GL error 0x501 Info: Invalid vertex attribute index. Wanted index: 4294967295. Max index: 16

This error message occurs in the method onInit() of file GPUImageTwoInputFilter.java after calling method GLES20.glEnableVertexAttribArray() with parameter -1. Right after this call the GLES20.glGetError() method will return error 1281 "invalid value".

To reproduce: just launch the project GPUImage Sample on android emulator via Android Studio, select an image and apply GPUImageLookupFilter. Or create and use your own project with this filter.

GLError501

@SCaptainCAP
Copy link

I have the same error ++

@nmkazantsev
Copy link

Me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants