mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Refactor ITextureSource use in main menu (#16135)
This commit is contained in:
@@ -172,7 +172,7 @@ public:
|
||||
\return Pointer to the texture, or 0 if the texture
|
||||
could not be loaded. This pointer should not be dropped. See
|
||||
IReferenceCounted::drop() for more information. */
|
||||
virtual ITexture *getTexture(const io::path &filename) = 0;
|
||||
[[deprecated]] virtual ITexture *getTexture(const io::path &filename) = 0;
|
||||
|
||||
//! Get access to a named texture.
|
||||
/** Loads the texture from disk if it is not
|
||||
@@ -184,7 +184,7 @@ public:
|
||||
\return Pointer to the texture, or 0 if the texture
|
||||
could not be loaded. This pointer should not be dropped. See
|
||||
IReferenceCounted::drop() for more information. */
|
||||
virtual ITexture *getTexture(io::IReadFile *file) = 0;
|
||||
[[deprecated]] virtual ITexture *getTexture(io::IReadFile *file) = 0;
|
||||
|
||||
//! Returns amount of textures currently loaded
|
||||
/** \return Amount of textures currently loaded */
|
||||
|
Reference in New Issue
Block a user