looks like command buffers need to be externally synchronized
This commit is contained in:
@@ -179,7 +179,7 @@ namespace Seele
|
||||
}
|
||||
allocator = other.allocator;
|
||||
}
|
||||
if(other.arraySize > allocated)
|
||||
if(_data == nullptr || other.arraySize > allocated)
|
||||
{
|
||||
if(_data != nullptr)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user