Hans
Hans

Reputation: 1

glTexParameter on Android -> OpenGL Error

I have a strange problem when using the above mentioned method:

gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_LINEAR_MIPMAP_LINEAR);

While this works great on the Android emulator I get an Open GL error on the actual device (samsung galaxy). The error is GL_INVALID_VALUE (Code 0x501).

Why is that?

Upvotes: 0

Views: 822

Answers (1)

genpfault
genpfault

Reputation: 52164

GL_TEXTURE_MAG_FILTER doesn't take anything other than GL_NEAREST or GL_LINEAR

Upvotes: 3

Related Questions