This commit is contained in:
lizzie 2025-11-08 05:34:54 +00:00 committed by crueter
parent 0a47f95e4a
commit f5a8b40185
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
// dson't allow to optimize away
(void)test_sampler;
// Destroy immediately; this is just a capability test.
logical.Destroy(test_sampler);
test_sampler.~Handle();
LOG_INFO(Render_Vulkan, "VK_EXT_custom_border_color runtime test passed");
} catch (const vk::Exception& e) {
LOG_WARNING(Render_Vulkan, "VK_EXT_custom_border_color advertised but sampler create failed: {}. Disabling feature.", e.what());