Fix all uninitialized variable warnings (C26495)

This commit is contained in:
Pokechu22
2021-09-03 21:43:19 -07:00
parent 525e6b2194
commit 78bfd25964
111 changed files with 638 additions and 651 deletions

View File

@ -120,7 +120,7 @@ private:
u64 m_completed_fence_counter = 0;
std::array<FrameResources, NUM_COMMAND_BUFFERS> m_frame_resources;
u32 m_current_frame;
u32 m_current_frame = 0;
// Threaded command buffer execution
// Semaphore determines when a command buffer can be queued

View File

@ -86,7 +86,7 @@ private:
struct SwapChainImage
{
VkImage image;
VkImage image{};
std::unique_ptr<VKTexture> texture;
std::unique_ptr<VKFramebuffer> framebuffer;
};