looks like command buffers need to be externally synchronized

This commit is contained in:
2021-11-14 20:36:53 +01:00
parent ad09492e3e
commit 42b0d5034c
29 changed files with 1121 additions and 1114 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ namespace Seele
}
allocator = other.allocator;
}
if(other.arraySize > allocated)
if(_data == nullptr || other.arraySize > allocated)
{
if(_data != nullptr)
{
+1 -1
View File
@@ -502,7 +502,7 @@ private:
if (!isValid(r))
{
nodeContainer.emplace(std::forward<KeyType>(key));
return 0;
return nodeContainer.size() - 1;
}
r = splay(r, key);
Node* node = getNode(r);