From: Eric Engestrom Date: Thu, 7 Mar 2019 13:45:14 +0000 (+0000) Subject: vulkan/overlay: fix missing var rename in previous commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e8d5b5ed48aaa37d8b83c2203f45ce55d557351;p=mesa.git vulkan/overlay: fix missing var rename in previous commit Signed-off-by: Eric Engestrom Reviewed-by: Lionel Landwerlin --- 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'],