File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/example_glfw_vulkan Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,17 @@ pub const c = @cImport({
99 @cInclude ("backends/dcimgui_impl_vulkan.h" );
1010});
1111
12- var g_Allocator : * c.VkAllocationCallbacks = undefined ;
12+ var g_Allocator : ? * c.VkAllocationCallbacks = null ;
1313var g_Instance : c.VkInstance = undefined ;
1414var g_PhysicalDevice : c.VkPhysicalDevice = undefined ;
1515var g_Device : c.VkDevice = undefined ;
1616var g_QueueFamily : ? u32 = null ;
1717var g_Queue : c.VkQueue = undefined ;
1818var g_DebugReport : c.VkDebugReportCallbackEXT = undefined ;
19- var g_PipelineCache : c.VkPipelineCache = undefined ;
19+ var g_PipelineCache : c.VkPipelineCache = null ;
2020var g_DescriptorPool : c.VkDescriptorPool = undefined ;
2121
22- var g_MainWindowData : c.ImGui_ImplVulkanH_Window = undefined ;
22+ var g_MainWindowData : c.ImGui_ImplVulkanH_Window = .{} ;
2323var g_MinImageCount : u32 = 2 ;
2424var g_SwapChainRebuild : bool = false ;
2525
You can’t perform that action at this time.
0 commit comments