Skip to content

Commit

Permalink
[Vk] Don't ask for VK_EXT_DEBUG_UTILS_EXTENSION_NAME if support was n…
Browse files Browse the repository at this point in the history
…ot declared. Fixed validation error on Samsung A33.
  • Loading branch information
eugenegff committed Sep 23, 2024
1 parent 01a3c80 commit bf93995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,8 @@ namespace Ogre
{
// Loader version < 1.1.114 is blacklisted as it will just crash.
// See https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/258
bAllow_VK_EXT_debug_utils = true;
bAllow_VK_EXT_debug_utils =
VulkanDevice::hasInstanceExtension( VK_EXT_DEBUG_UTILS_EXTENSION_NAME );
}
}
}
Expand Down

0 comments on commit bf93995

Please sign in to comment.