I am having a weird error when uploading my game in the phones.

E/Adreno200-EGL(5128): qeglDrvAPI_eglGetConfigAttrib:484>: EGL_BAD_ATTRIBUTE

I am uploading the textures with AssetManager.

I am using OpenGL 1.0.

It begans to upload the textures, but when it is about to finish uploading them, it finishes unexpectedly without any message in logcat.

Any ideas what is happening?

When I updated my xperia ray to ics it began having this problem

And when it loads, and I navigate through screens I get this in logcat

<qgl2DrvAPI_glClear:33>: GL_INVALID_VALUE

This is my line using the clear


The type of gl is GL10

Although the first error occurs when it is loading :/

Here is my logcat output

enter image description here


1 Answer 1


According to the official OpenGL documentation,

glClear generates GL_INVALID_VALUE if any bit other than the four defined bits is set in mask.

So, i would double check your glClear sentence. Can you post a few of your code so we can check it?

EDIT: I believe you have more than one error in your code. First, looks like OpenGL ES is complaining about this glClear and it is causing a GL_INVALID_VALUE gl error. Then, regarding other error, having a look at the OpenGL ES documentation of eglGetConfigAttrib, you can see that

EGL_BAD_ATTRIBUTE is generated if attribute is not a valid frame buffer configuration attribute.

Can you post again the line where you use eglGetConfigAttrib? I would double check that attribute parameter and its value.

  • \$\begingroup\$ I uploaded it :) although I think it is a problem with the update to ICS :/ I have to investigate with the bad logic games people :( \$\endgroup\$
    – Rudy_TM
    Commented Jul 31, 2012 at 23:45
  • \$\begingroup\$ I doo´t use the eglGetConfigAttrib :/ I think that the libgdx libraries do that \$\endgroup\$
    – Rudy_TM
    Commented Aug 1, 2012 at 0:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .