Skip to content

Code is panicking, with exit code 0xC000041D when attempting to allocate command buffers #675

Closed Answered by bzm3r
bzm3r asked this question in Q&A
Discussion options

You must be logged in to vote

It turns out that a Vulkan Instance I had created was being dropped too early, even when it was still being used.

The solution was to keep it around in a GpuState struct I am using to hold various bits of GPU-relevant state.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bzm3r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant