mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-07 18:01:30 +00:00
[vulkan] Correct dummy field name for labeledsingle
I didn't realize why labeledsingle had problems because most of the uses where where the names were the same.
This commit is contained in:
parent
2fa44c03a6
commit
faa2245220
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ parse_labeledsingle (const plfield_t *field, const plitem_t *item,
|
|||
return 0;
|
||||
}
|
||||
|
||||
plfield_t f = { field->name, 0, single->type, single->parser, 0 };
|
||||
plfield_t f = { key, 0, single->type, single->parser, 0 };
|
||||
void *value = vkparse_alloc (context, single->stride);
|
||||
memset (value, 0, single->stride);
|
||||
if (!single->parser (&f, item, value, messages, context)) {
|
||||
|
|
Loading…
Reference in a new issue