summaryrefslogtreecommitdiff
path: root/src/entities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp2
1 files changed, 1 insertions, 1 deletions
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;