[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:
Bill Currie 2022-12-10 19:02:40 +09:00
parent 50d588567b
commit 6a9985c8aa

View file

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