mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[vulkan] Use correct index for pl item setup
Due to a typo in the list of extra property list items to add to the symbol table (corrected), subsequent symbols were pointing to the wrong memory address.
This commit is contained in:
parent
3700321c5d
commit
fdcd972ff9
1 changed files with 2 additions and 2 deletions
|
@ -2259,7 +2259,7 @@ QFV_CreateSymtab (plitem_t *dict, const char *properties,
|
|||
symtab->symbols[num_keys + j] = (exprsym_t) {
|
||||
.name = extra_items[i],
|
||||
.type = &cexpr_plitem,
|
||||
.value = items + num_keys + i,
|
||||
.value = items + num_keys + j,
|
||||
};
|
||||
items[num_keys + j] = val;
|
||||
j++;
|
||||
|
@ -2305,7 +2305,7 @@ QFV_ParseRenderInfo (vulkan_ctx_t *ctx, plitem_t *item, qfv_renderctx_t *rctx)
|
|||
|
||||
static const char *extra_items[] = {
|
||||
"images",
|
||||
"view",
|
||||
"views",
|
||||
"renderpasses",
|
||||
0
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue