From: Mikko Rasa Date: Wed, 16 Mar 2022 11:34:37 +0000 (+0200) Subject: Initialize pipeline handle X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=3e8b4f685a146b491791f3b97625fdf9925faf5c Initialize pipeline handle --- diff --git a/source/backends/vulkan/pipelinestate_backend.h b/source/backends/vulkan/pipelinestate_backend.h index 085309e6..ab462ed5 100644 --- a/source/backends/vulkan/pipelinestate_backend.h +++ b/source/backends/vulkan/pipelinestate_backend.h @@ -19,7 +19,7 @@ protected: Device &device; mutable unsigned changes = 0; mutable unsigned unapplied = 0; - mutable VkPipeline handle; + mutable VkPipeline handle = 0; mutable std::vector descriptor_set_slots; VulkanPipelineState();