Skip to content

Commit

Permalink
Backends: WebGPU: Avoid using -1u literal (#7436)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel authored Mar 25, 2024
1 parent 868facf commit 8be48a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/imgui_impl_wgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct ImGui_ImplWGPU_InitInfo
ImGui_ImplWGPU_InitInfo()
{
PipelineMultisampleState.count = 1;
PipelineMultisampleState.mask = -1u;
PipelineMultisampleState.mask = UINT32_MAX;
PipelineMultisampleState.alphaToCoverageEnabled = false;
}
};
Expand Down

0 comments on commit 8be48a4

Please sign in to comment.