From 410cf39ab1d94729e7a4261ce18d32c5c8dcedeb Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Fri, 17 Apr 2015 13:07:30 -0600 Subject: [PATCH] layers: For ObjectTracker don't flag error for un-deleted Queues --- vk-layer-generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vk-layer-generate.py b/vk-layer-generate.py index edb52210..d7a5a992 100755 --- a/vk-layer-generate.py +++ b/vk-layer-generate.py @@ -1216,7 +1216,7 @@ class ObjectTrackerSubcommand(Subcommand): destroy_line += ' objNode *pDel = pTrav;\n' destroy_line += ' pTrav = pTrav->pNextGlobal;\n' destroy_line += ' ll_destroy_obj((void*)(pDel->obj.pObj));\n' - destroy_line += ' } else if (pTrav->obj.objType == VkObjectTypePhysicalDevice) {\n' + destroy_line += ' } else if ((pTrav->obj.objType == VkObjectTypePhysicalDevice) || (pTrav->obj.objType == VkObjectTypeQueue)) {\n' destroy_line += ' // Cannot destroy physical device so ignore\n' destroy_line += ' pTrav = pTrav->pNextGlobal;\n' destroy_line += ' } else {\n' -- 2.34.1