diff --git a/lib/x11/WindowXlib.cpp b/lib/x11/WindowXlib.cpp index fad2a5e..955d9f6 100644 --- a/lib/x11/WindowXlib.cpp +++ b/lib/x11/WindowXlib.cpp @@ -600,7 +600,7 @@ struct GraphicsContextXlibVulkan : GraphicsContextXlib xcb_connection_t* m_xcbConn; VulkanContext* m_ctx; VkSurfaceKHR m_surface = VK_NULL_HANDLE; - VkFormat m_format; + VkFormat m_format = VK_FORMAT_UNDEFINED; VkColorSpaceKHR m_colorspace; GLXFBConfig m_fbconfig = 0;