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_VAL开发者_开发百科UE
(Code 0x501
).
Why is that?
GL_TEXTURE_MAG_FILTER
doesn't take anything other than GL_NEAREST
or GL_LINEAR
精彩评论