mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-11-01 12:06:41 +01:00
Fix counter shared pointer getting created with the wrong function.
This commit is contained in:
1 parent
6c65e0914d
commit
fe4801b9ff
1 file changed
+1
-1
@@ -4515,7 +4515,7 @@ static void EnqueueGraphicsPipelineCompilation(const PipelineState& pipelineStat
|
||||
if (shouldCompile)
|
||||
{
|
||||
if (databaseDataHolderPair.counter == nullptr && databaseDataHolderPair.holder.databaseData.get() != nullptr)
|
||||
databaseDataHolderPair.counter = std::make_unique<DatabaseDataHolder>(std::move(databaseDataHolderPair.holder));
|
||||
databaseDataHolderPair.counter = std::make_shared<DatabaseDataHolder>(std::move(databaseDataHolderPair.holder));
|
||||
|
||||
PipelineStateQueueItem queueItem;
|
||||
queueItem.pipelineHash = hash;
|
||||
|
||||
Reference in new issue
Block a user