Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 174 forks source link

Linear filter or anisosomething filter doesn't work for opengl #1353

Closed BlackGoku36 closed 3 years ago

BlackGoku36 commented 3 years ago

Describe the bug Linear filter or anisosomething filter doesn't work for opengl. (HTML5) Metal works

To Reproduce

// Set texture
g.setTexture(tu, cd.tex);
// Set texture parameters. Set filter as Linear or anisosomething
g.setTextureParameters(tu, uaddressing, vaddressing, filter, filter, mipmapFilter);

Expected behavior To work

Execution Environment:

RobDangerous commented 3 years ago

Please provide a complete sample because that normally works. And do I understand that correctly that with OpenGL you mean WebGL?

BlackGoku36 commented 3 years ago

Oh sorry, yes I meant webgl. Can't reproduce it in new sample. It must be something stupid I did