Async render passes

This commit is contained in:
2021-11-24 12:10:23 +01:00
parent 94be513538
commit 5fafdda770
23 changed files with 199 additions and 162 deletions
+3 -2
View File
@@ -208,9 +208,10 @@ public:
deallocateNode(tmp->prev);
}
deallocateNode(tail);
markIteratorDirty();
tail = nullptr;
root = nullptr;
markIteratorDirty();
_size = 0;
}
//Insert at the end
iterator add(const T &value)
@@ -291,7 +292,7 @@ public:
{
value_type temp = std::move(root->data);
popFront();
return std::move(temp);
return temp;
}
iterator remove(iterator pos)
{