Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I am trying to load a texture. After the following lines I get an error value of 0x00003000.

glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, m_texWidth, m_texHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, m_textureData);

EGLint err = eglGetError();

What could this error mean? I am unable to draw this texture. What I get is a scrambled image.

can u post the code and resource file (if possible) ...

can u post the code and resource file (if possible) ...

Looks like you are using eglGetError instead of glGetError.
Also, 0x3000 = EGL_SUCCESS (no error).
Must be something else in the app, but I don't have enough info to comment on what that could be.
Sincerely,
Dam Backer

Looks like you are using eglGetError instead of glGetError.
Also, 0x3000 = EGL_SUCCESS (no error).
Must be something else in the app, but I don't have enough info to comment on what that could be.
Sincerely,
Dam Backer