mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-06 02:05:30 +01:00
Irrlicht: fix mipmaps regenerated multiple times
This commit is contained in:
@@ -186,11 +186,8 @@ public:
|
||||
You may want to call regenerateMipMapLevels() after this when you changed any data. */
|
||||
virtual void unlock() = 0;
|
||||
|
||||
//! Regenerates the mip map levels of the texture.
|
||||
/** Required after modifying the texture, usually after calling unlock().
|
||||
\param layer It informs a texture about which cubemap or texture array layer
|
||||
needs mipmap regeneration. */
|
||||
virtual void regenerateMipMapLevels(u32 layer = 0) = 0;
|
||||
//! Regenerates the mip map levels of the texture. */
|
||||
virtual void regenerateMipMapLevels() = 0;
|
||||
|
||||
//! Get original size of the texture.
|
||||
/** The texture is usually scaled, if it was created with an unoptimal
|
||||
|
||||
Reference in New Issue
Block a user