mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
vulkan: fix a potential error during draws.
This commit is contained in:
@@ -299,7 +299,7 @@ void Shader::cmdPushDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBind
|
||||
{
|
||||
auto &info = *(u.second);
|
||||
|
||||
if (usesLocalUniformData(&info))
|
||||
if (!info.active || usesLocalUniformData(&info))
|
||||
continue;
|
||||
|
||||
if (info.baseType == UNIFORM_SAMPLER || info.baseType == UNIFORM_STORAGETEXTURE)
|
||||
|
||||
Reference in New Issue
Block a user