From 847174d87cc5bf5c8e423ae30d8d23f50410b48b Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Tue, 14 Apr 2015 16:30:53 -0600 Subject: [PATCH] vk_helper: convert xgl refs to vk/vulkan refs --- vk_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vk_helper.py b/vk_helper.py index 33e1348..f559f9e 100755 --- a/vk_helper.py +++ b/vk_helper.py @@ -342,7 +342,7 @@ class StructWrapperGen: self.struct_dict = in_struct_dict self.include_headers = [] self.api = prefix - if prefix == "vulkan": + if prefix.lower() == "vulkan": self.api_prefix = "vk" else: self.api_prefix = prefix @@ -1140,7 +1140,7 @@ class StructWrapperGen: def _generateSizeHelperHeaderC(self): header = [] - header.append('#include "xgl_struct_size_helper.h"') + header.append('#include "vk_struct_size_helper.h"') header.append('#include ') header.append('#include ') header.append('\n// Function definitions\n') -- 2.7.4