From f6fca8225d98f79ee245596e1ff4b1b2309cdb12 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 30 Jan 2025 16:25:49 -0500 Subject: pke: consolidate duplicated vulkan sampler --- src/entities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entities.cpp') diff --git a/src/entities.cpp b/src/entities.cpp index 446e80a..5c74f3e 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -645,7 +645,7 @@ void EntityType_LoadTexture(EntityType_LoadHelperStruct &helper, const int64_t i } VkDescriptorImageInfo textureDescriptorInfo; - textureDescriptorInfo.sampler = pkePipelines.vkSampler_Texture; + textureDescriptorInfo.sampler = global_sampler; textureDescriptorInfo.imageView = etdHelper.etd->textureImageView; textureDescriptorInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; -- cgit v1.2.3