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

@@ -1153,8 +1153,7 @@ bool ImGui_ImplVulkan_CreateDeviceObjects()
check_vk_result(err);
}
// Create samplers
// Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling.
// Create samplers (bilinear sampling is required)
if (!bd->SamplerLinear || !bd->SamplerNearest)
{
VkSamplerCreateInfo info = {};