fix mipmapping

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-19 19:08:45 -03:00 committed by Magnus Norddahl
commit 421029e1df

View file

@ -464,7 +464,7 @@ std::unique_ptr<VulkanShader> VkShaderManager::LoadVertShader(FString shadername
std::unique_ptr<VulkanShader> VkShaderManager::LoadFragShader(FString shadername, const char *frag_lump, const char *material_lump, const char* mateffect_lump, const char *light_lump_shared, const char *light_lump, const char *defines, const VkShaderKey& key, const UserShaderDesc *shader)
{
FString definesBlock;
BuildDefinesBlock(definesBlock, defines, false, key, shader);
BuildDefinesBlock(definesBlock, defines, true, key, shader);
FString layoutBlock;
BuildLayoutBlock(layoutBlock, true, key, shader);