Fix debug names in renderdoc
This commit is contained in:
parent
ece3bbcfff
commit
5c998732e6
2 changed files with 1 additions and 3 deletions
|
|
@ -44,8 +44,6 @@ public:
|
|||
void SetObjectName(const char* name, uint64_t handle, VkObjectType type);
|
||||
|
||||
private:
|
||||
bool DebugLayerActive = false;
|
||||
|
||||
void CreateDevice();
|
||||
void CreateAllocator();
|
||||
void ReleaseResources();
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ void VulkanDevice::ReleaseResources()
|
|||
|
||||
void VulkanDevice::SetObjectName(const char* name, uint64_t handle, VkObjectType type)
|
||||
{
|
||||
if (!DebugLayerActive) return;
|
||||
if (!Instance->DebugLayerActive) return;
|
||||
|
||||
VkDebugUtilsObjectNameInfoEXT info = {};
|
||||
info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue