File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ core::smart_refctd_ptr<CVulkanConnection> CVulkanConnection::create(core::smart_
234
234
std::unique_ptr<CVulkanDebugCallback> debugCallback = std::make_unique<CVulkanDebugCallback>(std::move (logger));
235
235
236
236
VkDebugUtilsMessengerCreateInfoEXT debugMessengerCreateInfo = { VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT, nullptr };
237
- if (logger && enabledFeatures.debugUtils )
237
+ if (enabledFeatures.debugUtils )
238
238
{
239
239
debugMessengerCreateInfo.flags = 0 ;
240
240
auto debugCallbackFlags = getDebugCallbackFlagsFromLogLevelMask (logLevelMask);
@@ -321,4 +321,4 @@ CVulkanConnection::~CVulkanConnection()
321
321
vkDestroyInstance (m_vkInstance,nullptr );
322
322
}
323
323
324
- }
324
+ }
You can’t perform that action at this time.
0 commit comments