mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Refactor ITextureSource use in main menu (#16135)
This commit is contained in:
parent
452160cd00
commit
1214a1d4a6
4 changed files with 23 additions and 21 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue