mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-19 22:42:25 +00:00
Fix counter shared pointer getting created with the wrong function.
This commit is contained in:
parent
6c65e0914d
commit
fe4801b9ff
1 changed files with 1 additions and 1 deletions
|
|
@ -4515,7 +4515,7 @@ static void EnqueueGraphicsPipelineCompilation(const PipelineState& pipelineStat
|
||||||
if (shouldCompile)
|
if (shouldCompile)
|
||||||
{
|
{
|
||||||
if (databaseDataHolderPair.counter == nullptr && databaseDataHolderPair.holder.databaseData.get() != nullptr)
|
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;
|
PipelineStateQueueItem queueItem;
|
||||||
queueItem.pipelineHash = hash;
|
queueItem.pipelineHash = hash;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue