mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
[vulkan] Fix dereference for non-pointer aliases
Fixes breakage for uint32_t for array/single handling.
This commit is contained in:
parent
9f4f63796b
commit
8184c546db
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ static string get_type_key (void *type, void *unused)
|
|||
-(Type *) dereference
|
||||
{
|
||||
qfot_type_t *t = type;
|
||||
if (t.meta == ty_alias) {
|
||||
if (t.meta == ty_alias && t.type == ev_pointer) {
|
||||
t = type.alias.full_type;
|
||||
}
|
||||
if (t.meta == ty_basic && t.type == ev_pointer) {
|
||||
|
|
Loading…
Reference in a new issue