diff --git a/lib/graphics_engine/src/ge_vulkan_texture.cpp b/lib/graphics_engine/src/ge_vulkan_texture.cpp index af318288a..b9dcab2d2 100644 --- a/lib/graphics_engine/src/ge_vulkan_texture.cpp +++ b/lib/graphics_engine/src/ge_vulkan_texture.cpp @@ -561,7 +561,7 @@ void* GEVulkanTexture::lock(video::E_TEXTURE_LOCK_MODE mode, u32 mipmap_level) // ---------------------------------------------------------------------------- uint8_t* GEVulkanTexture::getTextureData() { - if (m_internal_format != VK_FORMAT_R8G8B8A8_UNORM || + if (m_internal_format != VK_FORMAT_R8G8B8A8_UNORM && m_internal_format != VK_FORMAT_R8_UNORM) { if (m_full_path.empty())