mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 19:45:22 +02:00
Fixes and improvements
This commit is contained in:
@@ -50,7 +50,7 @@ static video::SMaterial baseMaterial()
|
||||
|
||||
static inline void disableTextureFiltering(video::SMaterial &mat)
|
||||
{
|
||||
mat.forEachTexture([] (video::SMaterialLayer &tex) {
|
||||
mat.forEachTexture([] (auto &tex) {
|
||||
tex.MinFilter = video::ETMINF_NEAREST_MIPMAP_NEAREST;
|
||||
tex.MagFilter = video::ETMAGF_NEAREST;
|
||||
tex.AnisotropicFilter = 0;
|
||||
|
||||
Reference in New Issue
Block a user