mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
vulkan: fix texture descriptor type in descriptor pools.
This commit is contained in:
@@ -57,7 +57,7 @@ SharedDescriptorPools::SharedDescriptorPools(VkDevice device, int dynamicUniform
|
||||
|
||||
if (sampledTextures > 0)
|
||||
{
|
||||
size.type = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE;
|
||||
size.type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
|
||||
size.descriptorCount = sampledTextures;
|
||||
descriptorPoolSizes.push_back(size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user