Removing multiple inheritance from cmd buffers

This commit is contained in:
Dynamitos committed 2021-10-19 11:00:39 +02:00
1 parent 1e742c1f45
commit a0693daa67
14 files changed
+131 -121

No files matched your search

+2 -2
View File
@@ -14,12 +14,12 @@ public:
virtual void load() override;
void setTexture(Gfx::PTexture texture)
{
std::scoped_lock lck(lock);
std::unique_lock lck(lock);
this->texture = texture;
}
Gfx::PTexture getTexture()
{
std::scoped_lock lck(lock);
std::unique_lock lck(lock);
return texture;
}
private: