Commit Graph
4 Commits
Author SHA1 Message Date
Thimo 0c69b4a31e Properly implement texture Mipmap generation
* Add missing GL_GENERATE_MIPMAP
* Add one-time retrieval of glGetIntegerv(GL_MAJOR_VERSION, *)
* Opt for Mipmap generation methos based on OGL version major (<3.0 = GL_GENERATE_MIPMAP, >=3.0 = glGenerateMipmap)
2020-11-08 14:56:30 +01:00
Thimo ae8ffdd2e3 Fix texures
* Add missing Mipmap generation call
* Add missing state clearing
* Add optional linear Mipmap flag setting
* Add optional edge clamping
* Fix texture orientation in Batcher.bf
* Fix example
2020-11-08 14:20:08 +01:00
Thimo decb8b855d Add hitbox outline utility method 2020-11-08 14:12:08 +01:00
Thimo d6713c3a96 Fix compiler warnings 2020-11-08 14:09:47 +01:00