Fix a thinko

Wrong var for computing number of slots used.
This commit is contained in:
Bill Currie 2020-02-13 04:20:54 +09:00
parent 61036378e2
commit 69c110193a

View file

@ -188,7 +188,7 @@ QFV_CreateDescriptorPool (qfv_device_t *device,
VkDescriptorPoolCreateInfo createInfo = {
VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, 0,
flags, maxSets, ps - poolsize_pool, poolsize_pool,
flags, maxSets, poolsize_next - poolsize_pool, poolsize_pool,
};
qfv_descriptorpool_t *descriptorpool = malloc (sizeof (descriptorpool));