vulkan/overlay: fix missing var rename in previous commit
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 7 Mar 2019 13:45:14 +0000 (13:45 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 7 Mar 2019 13:45:14 +0000 (13:45 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/vulkan/util/gen_enum_to_str.py

index e6d5f86fa81372d72b435a4cb6e11d6746a6dab9..2756eb21cb89753b768db81f5dec871a7b5a990c 100644 (file)
@@ -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'],