Merge pull request #7921 from Goober5000/fix/vulkan_texture_addressing

honor material texture addressing in Vulkan
This commit is contained in:
Goober5000 authored and GitHub committed 2026-10-24 03:10:07 -04:00
commit a8d5b3d6f9
1 file changed
+3
+3
View File
@@ -1281,6 +1281,9 @@ bool VulkanDrawManager::applyMaterial(material* mat, primitive_type prim_type, v
m_frameStats.applyMaterialCalls++;
// Like opengl_tnl_set_material(), every material draw sets the texture addressing (e.g. MR_FORCE_CLAMP skyboxes)
setTextureAddressing(mat->get_texture_addressing());
// Build pipeline configuration from material
PipelineConfig config = buildPipelineConfig(mat, prim_type);