Basic mutability framework

This commit is contained in:
Dynamitos
2022-01-12 14:40:26 +01:00
parent b2718dde70
commit 6d48267ec2
72 changed files with 1781 additions and 1341 deletions
+2 -2
View File
@@ -14,12 +14,12 @@ public:
virtual void load() override;
void setTexture(Gfx::PTexture texture)
{
std::unique_lock lck(lock);
std::scoped_lock lck(lock);
this->texture = texture;
}
Gfx::PTexture getTexture()
{
std::unique_lock lck(lock);
std::scoped_lock lck(lock);
return texture;
}
private: