[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:
Bill Currie 2023-07-24 10:10:49 +09:00
parent 2fa44c03a6
commit faa2245220
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {