Skip to content

Commit

Permalink
Merge pull request #2034 from nikeinikei/main
Browse files Browse the repository at this point in the history
Fix #2032
  • Loading branch information
slime73 authored Mar 8, 2024
2 parents 8dae72b + ca0264e commit 5f3b957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/vulkan/Shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void Shader::newFrame()
streamBuffers.clear();
streamBuffers.push_back(new StreamBuffer(vgfx, BUFFERUSAGE_UNIFORM, newSize));
}
else
else if (streamBuffers.size() == 1)
streamBuffers.at(0)->nextFrame();

for (VkDescriptorPool pool : descriptorPools[currentFrame])
Expand Down

0 comments on commit 5f3b957

Please sign in to comment.