Skip to content

framework: Ensure pQueuePriorities is a valid pointer

Compound literals inside a block have a duration for the block, so (float[]) { 1.0f } was getting out of scope before vkCreateDevice() was called. Issue found via the validation layers.

Fixes: 0b530e95 ("framework: Initialize a queue and command pool per queue family")

Merge request reports