Backends: WebGPU: Fix missing initialization of local variable (#4634)
diff --git a/backends/imgui_impl_wgpu.cpp b/backends/imgui_impl_wgpu.cpp index 20b6bb2..2f621ed 100644 --- a/backends/imgui_impl_wgpu.cpp +++ b/backends/imgui_impl_wgpu.cpp
@@ -270,7 +270,7 @@ spirv_desc.codeSize = binary_data_size; spirv_desc.code = binary_data; - WGPUShaderModuleDescriptor desc; + WGPUShaderModuleDescriptor desc = {}; desc.nextInChain = reinterpret_cast<WGPUChainedStruct*>(&spirv_desc); WGPUProgrammableStageDescriptor stage_desc = {};