mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-08 07:11:16 +00:00
Fix rare texture loading problems introduced in 8bd40be8aa
and f0d580d873
.
This commit is contained in:
parent
198f0353d5
commit
62c949f640
5 changed files with 29 additions and 32 deletions
|
@ -1023,7 +1023,7 @@ public:
|
|||
void removeTexture(Texture *res);
|
||||
void clearResources();
|
||||
|
||||
CountedPtr<Texture> addTexture(const std::string &texture, TextureLoadResult *pLoadResult = 0);
|
||||
CountedPtr<Texture> addTexture(const std::string &texture);
|
||||
|
||||
PostProcessingFX postProcessingFx;
|
||||
|
||||
|
@ -1328,7 +1328,7 @@ protected:
|
|||
|
||||
virtual void onReloadResources();
|
||||
|
||||
std::pair<CountedPtr<Texture>, TextureLoadResult> doTextureAdd(const std::string &texture, const std::string &name, std::string internalTextureName);
|
||||
CountedPtr<Texture> doTextureAdd(const std::string &texture, const std::string &name, std::string internalTextureName);
|
||||
|
||||
void deleteRenderObjectMemory(RenderObject *r);
|
||||
bool _hasFocus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue