This commit is contained in:
Бранимир Караџић
2020-07-24 14:55:03 -07:00
parent f95a596851
commit 486fdecbcc
2 changed files with 36 additions and 36 deletions

View File

@@ -2263,8 +2263,10 @@ VK_IMPORT_DEVICE
vkSetDebugUtilsObjectNameEXT = stubSetDebugUtilsObjectNameEXT;
}
if (NULL == vkCmdBeginDebugUtilsLabelEXT
|| NULL == vkCmdEndDebugUtilsLabelEXT)
if (!s_extension[Extension::EXT_debug_utils].m_supported
|| NULL == vkCmdBeginDebugUtilsLabelEXT
|| NULL == vkCmdEndDebugUtilsLabelEXT
)
{
vkCmdBeginDebugUtilsLabelEXT = stubCmdBeginDebugUtilsLabelEXT;
vkCmdEndDebugUtilsLabelEXT = stubCmdEndDebugUtilsLabelEXT;