mirror of
https://github.com/rt64/rt64.git
synced 2024-12-26 21:18:31 +00:00
Change the index in the condition.
This commit is contained in:
parent
1ec24eeaa9
commit
e164ca654e
@ -544,7 +544,7 @@ namespace RT64 {
|
||||
for (const PipelineCreation &creation : pipelineThreadCreations[threadIndex]) {
|
||||
uint32_t pipelineIndex = pipelineStateIndex(creation.zCmp, creation.zUpd, creation.cvgAdd);
|
||||
|
||||
if (threadIndex == 0) {
|
||||
if (pipelineIndex == 0) {
|
||||
firstPipelineMutex.lock();
|
||||
pipelines[pipelineIndex] = RasterShader::createPipeline(creation);
|
||||
firstPipelineMutex.unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user