mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
Merge pull request #7921 from Goober5000/fix/vulkan_texture_addressing
honor material texture addressing in Vulkan
This commit is contained in:
1 file changed
+3
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user