mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-03 22:28:48 +00:00
Backends: amend comments to state that bilinear filtering is required ahead of 1.93.
This commit is contained in:
@@ -844,8 +844,7 @@ bool ImGui_ImplWGPU_CreateDeviceObjects()
|
||||
|
||||
ImGui_ImplWGPU_CreateUniformBuffer();
|
||||
|
||||
// Create samplers (Linear/Nearest)
|
||||
// (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling)
|
||||
// Create samplers (Linear/Nearest) (bilinear sampling is required)
|
||||
WGPUSamplerDescriptor sampler_desc = {};
|
||||
sampler_desc.addressModeU = WGPUAddressMode_ClampToEdge;
|
||||
sampler_desc.addressModeV = WGPUAddressMode_ClampToEdge;
|
||||
|
||||
Reference in New Issue
Block a user