Backends: amend comments to state that bilinear filtering is required ahead of 1.93.

This commit is contained in:
ocornut
2026-07-31 22:07:01 +02:00
parent f1cc2ae15e
commit 9b7699f325
12 changed files with 12 additions and 22 deletions

View File

@@ -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;