mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Backends: WebGPU: Fix missing initialization of local variable (#4634)
This commit is contained in:
		| @@ -270,7 +270,7 @@ static WGPUProgrammableStageDescriptor ImGui_ImplWGPU_CreateShaderModule(uint32_ | |||||||
|     spirv_desc.codeSize = binary_data_size; |     spirv_desc.codeSize = binary_data_size; | ||||||
|     spirv_desc.code = binary_data; |     spirv_desc.code = binary_data; | ||||||
|  |  | ||||||
|     WGPUShaderModuleDescriptor desc; |     WGPUShaderModuleDescriptor desc = {}; | ||||||
|     desc.nextInChain = reinterpret_cast<WGPUChainedStruct*>(&spirv_desc); |     desc.nextInChain = reinterpret_cast<WGPUChainedStruct*>(&spirv_desc); | ||||||
|  |  | ||||||
|     WGPUProgrammableStageDescriptor stage_desc = {}; |     WGPUProgrammableStageDescriptor stage_desc = {}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Basil Fierz
					Basil Fierz