projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b570830
)
layers: Fix compiler warning in ObjectTracker
author
Mark Lobodzinski
<mark@lunarg.com>
Thu, 11 Jun 2015 18:51:41 +0000
(13:51 -0500)
committer
Mark Lobodzinski
<mark@lunarg.com>
Thu, 11 Jun 2015 18:51:41 +0000
(13:51 -0500)
Function validate_object should return VOID.
vk-layer-generate.py
patch
|
blob
|
history
diff --git
a/vk-layer-generate.py
b/vk-layer-generate.py
index cadf8d540b0c7e77809f39723b9a76833335cd4b..215b246d26322970538764064c49a3db7cbe2b1b 100755
(executable)
--- a/
vk-layer-generate.py
+++ b/
vk-layer-generate.py
@@
-870,7
+870,7
@@
class ObjectTrackerSubcommand(Subcommand):
header_txt.append('}')
header_txt.append('')
header_txt.append('// Validate that object is in the object map')
- header_txt.append('static
bool32_t
validate_object(const VkObject object)')
+ header_txt.append('static
void
validate_object(const VkObject object)')
header_txt.append('{')
header_txt.append(' if (objMap.find(object) == objMap.end()) {')
header_txt.append(' char str[1024];')