mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Remove unused IVideoDriver::getTextureByIndex and IVideoDriver::renameTexture
* getTextureByIndex is pretty useless (apart from iterating over all texture, which we don't do), as you can't get an id. * renameTexture is broken anyway: The sort call does nothing because the array is still flagged as sorted.
This commit is contained in:
@ -79,15 +79,9 @@ namespace video
|
||||
//! loads a Texture
|
||||
ITexture* getTexture(io::IReadFile* file) override;
|
||||
|
||||
//! Returns a texture by index
|
||||
ITexture* getTextureByIndex(u32 index) override;
|
||||
|
||||
//! Returns amount of textures currently loaded
|
||||
u32 getTextureCount() const override;
|
||||
|
||||
//! Renames a texture
|
||||
void renameTexture(ITexture* texture, const io::path& newName) override;
|
||||
|
||||
ITexture* addTexture(const core::dimension2d<u32>& size, const io::path& name, ECOLOR_FORMAT format = ECF_A8R8G8B8) override;
|
||||
|
||||
ITexture* addTexture(const io::path& name, IImage* image) override;
|
||||
|
Reference in New Issue
Block a user