mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-04 06:38:48 +00:00
Backends: amend comments to state that bilinear filtering is required ahead of 1.93.
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user