Browse Source

Removed 0UL check.

Thought unsigned long was consistent across platforms
Username-Leon 2 weeks ago
parent
commit
d203dff09f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/vulkan/_gen/create_vulkan_odin_wrapper.py

+ 1 - 1
vendor/vulkan/_gen/create_vulkan_odin_wrapper.py

@@ -311,7 +311,7 @@ def parse_constants(f):
     for name, value in data:
         value = remove_prefix(value, 'VK_')
         v = number_suffix_re.findall(value)
-        if value == "(~0U)" or value == "(~0UL)":
+        if value == "(~0U)":
             value = "~u32(0)"
         elif value == "(~0ULL)":
             value = "~u64(0)"