mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[vulkan] Fix an uninitialized field
Yay valgrind. Luckily, there was a very tiny probability for it causing problems, but 0 is better.
This commit is contained in:
parent
50d588567b
commit
6a9985c8aa
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ Vulkan_Output_Init (vulkan_ctx_t *ctx)
|
|||
for (size_t i = 0; i < frames; i++) {
|
||||
__auto_type oframe = &octx->frames.a[i];
|
||||
|
||||
oframe->input = 0;
|
||||
oframe->set = sets->a[i];
|
||||
|
||||
QFV_AllocateCommandBuffers (device, ctx->cmdpool, 1, cmdSet);
|
||||
|
|
Loading…
Reference in a new issue