summaryrefslogtreecommitdiffstats
path: root/src/vulkan/util
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-03-07 13:45:14 +0000
committerEric Engestrom <[email protected]>2019-03-07 13:45:14 +0000
commit3e8d5b5ed48aaa37d8b83c2203f45ce55d557351 (patch)
tree4909ba296479ff3df6a7a93f7bffb6ac794bcf54 /src/vulkan/util
parentd141472d0ec1db2391a54919bc480eaa1eac36b6 (diff)
vulkan/overlay: fix missing var rename in previous commit
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/vulkan/util')
-rw-r--r--src/vulkan/util/gen_enum_to_str.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/util/gen_enum_to_str.py b/src/vulkan/util/gen_enum_to_str.py
index e6d5f86fa81..2756eb21cb8 100644
--- a/src/vulkan/util/gen_enum_to_str.py
+++ b/src/vulkan/util/gen_enum_to_str.py
@@ -313,7 +313,7 @@ def parse_xml(cmd_factory, enum_factory, ext_factory, filename):
platform_define[name] = define
for ext_elem in xml.findall('./extensions/extension[@supported="vulkan"]'):
- platform = None
+ define = None
if "platform" in ext_elem.attrib:
define = platform_define[ext_elem.attrib['platform']]
extension = ext_factory(ext_elem.attrib['name'],