From 3e8d5b5ed48aaa37d8b83c2203f45ce55d557351 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 7 Mar 2019 13:45:14 +0000 Subject: [PATCH] vulkan/overlay: fix missing var rename in previous commit Signed-off-by: Eric Engestrom Reviewed-by: Lionel Landwerlin --- src/vulkan/util/gen_enum_to_str.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- 2.30.2