mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
vulkan: fix incorrect return type
This commit is contained in:
@@ -1099,7 +1099,7 @@ void Shader::setMainTex(graphics::Texture *texture)
|
||||
}
|
||||
}
|
||||
|
||||
VkDescriptorPool Shader::createDescriptorPool()
|
||||
void Shader::createDescriptorPool()
|
||||
{
|
||||
VkDescriptorPoolCreateInfo createInfo{};
|
||||
createInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||
|
||||
@@ -98,7 +98,7 @@ private:
|
||||
void createDescriptorPoolSizes();
|
||||
void createStreamBuffers();
|
||||
void buildLocalUniforms(spirv_cross::Compiler &comp, const spirv_cross::SPIRType &type, size_t baseoff, const std::string &basename);
|
||||
VkDescriptorPool createDescriptorPool();
|
||||
void createDescriptorPool();
|
||||
VkDescriptorSet allocateDescriptorSet();
|
||||
|
||||
VkDeviceSize uniformBufferSizeAligned;
|
||||
|
||||
Reference in New Issue
Block a user