mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
[vulkan] Generate correct parse data for size_t
Fixes a segfault when parsing specialization map data.
This commit is contained in:
parent
8224169394
commit
4283d690ad
1 changed files with 4 additions and 1 deletions
|
@ -137,9 +137,12 @@
|
||||||
id enumObj = [(id) Hash_Find (available_types, name) resolveType];
|
id enumObj = [(id) Hash_Find (available_types, name) resolveType];
|
||||||
return [enumObj parseData];
|
return [enumObj parseData];
|
||||||
}
|
}
|
||||||
if (name == "uint32_t" || name == "size_t") {
|
if (name == "uint32_t") {
|
||||||
return "0";
|
return "0";
|
||||||
}
|
}
|
||||||
|
if (name == "size_t") {
|
||||||
|
return "&cexpr_size_t";
|
||||||
|
}
|
||||||
return [alias parseData];
|
return [alias parseData];
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in a new issue