开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜