mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-13 05:15:28 +01:00
Try to reuse texture objects in TextureSource::rebuildTexture()
This commit is contained in:
@@ -86,7 +86,11 @@ public:
|
||||
*/
|
||||
virtual void insertSourceImage(const std::string &name, video::IImage *img)=0;
|
||||
|
||||
/// @brief rebuilds all textures (in case-source images have changed)
|
||||
/**
|
||||
* Rebuilds all textures (in case-source images have changed)
|
||||
* @note This won't invalidate old ITexture's, but you have to retrieve them
|
||||
* again to see changes.
|
||||
*/
|
||||
virtual void rebuildImagesAndTextures()=0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user