forked from Mirrorlandia_minetest/irrlicht
Remove the now unused SMaterialLayer::setFiltersMinetest method
This commit is contained in:
parent
ef3bab610d
commit
1d4672bd92
@ -232,16 +232,6 @@ namespace video
|
|||||||
if the value is positive. */
|
if the value is positive. */
|
||||||
s8 LODBias;
|
s8 LODBias;
|
||||||
|
|
||||||
//! Sets the MinFilter, MagFilter and AnisotropicFilter properties according
|
|
||||||
//! to the three relevant boolean values found in the Minetest settings.
|
|
||||||
/** The value of `trilinear` takes precedence over the value of `bilinear`. */
|
|
||||||
void setFiltersMinetest(bool bilinear, bool trilinear, bool anisotropic) {
|
|
||||||
MinFilter = trilinear ? ETMINF_LINEAR_MIPMAP_LINEAR :
|
|
||||||
(bilinear ? ETMINF_LINEAR_MIPMAP_NEAREST : ETMINF_NEAREST_MIPMAP_NEAREST);
|
|
||||||
MagFilter = (trilinear || bilinear) ? ETMAGF_LINEAR : ETMAGF_NEAREST;
|
|
||||||
AnisotropicFilter = anisotropic ? 0xFF : 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class SMaterial;
|
friend class SMaterial;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user