mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 12:18:15 +00:00
Transform matrix to mat identifier for Vulkan
This commit is contained in:
+2
-2
@@ -405,8 +405,8 @@ def parse_structs(f):
|
||||
if "Flag_Bits" in type_:
|
||||
comment = " // only single bit set"
|
||||
t = do_type(type_, prev_name, fname)
|
||||
if t == "Structure_Type" and n == "type":
|
||||
n = "s_type"
|
||||
if n == "matrix":
|
||||
n = "mat"
|
||||
|
||||
ffields.append(tuple([n, t, comment]))
|
||||
prev_name = fname
|
||||
|
||||
Reference in New Issue
Block a user