From 8be48a44f786dc16163112a6a17d4934ada625f9 Mon Sep 17 00:00:00 2001 From: Elie Michel Date: Mon, 25 Mar 2024 03:10:38 +0100 Subject: [PATCH] Backends: WebGPU: Avoid using -1u literal (#7436) --- backends/imgui_impl_wgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/imgui_impl_wgpu.h b/backends/imgui_impl_wgpu.h index 9dc3ff290..2e19ea36e 100644 --- a/backends/imgui_impl_wgpu.h +++ b/backends/imgui_impl_wgpu.h @@ -32,7 +32,7 @@ struct ImGui_ImplWGPU_InitInfo ImGui_ImplWGPU_InitInfo() { PipelineMultisampleState.count = 1; - PipelineMultisampleState.mask = -1u; + PipelineMultisampleState.mask = UINT32_MAX; PipelineMultisampleState.alphaToCoverageEnabled = false; } };