mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-26 06:33:14 +02:00
Examples: Vulkan: Fixed an extra validation (tested on Windows with VulkanSDK 1.0.46.0) (#1042)
This commit is contained in:
@ -541,6 +541,7 @@ bool ImGui_ImplGlfwVulkan_CreateDeviceObjects()
|
|||||||
info.addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT;
|
info.addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT;
|
||||||
info.minLod = -1000;
|
info.minLod = -1000;
|
||||||
info.maxLod = 1000;
|
info.maxLod = 1000;
|
||||||
|
info.maxAnisotropy = 1.0f;
|
||||||
err = vkCreateSampler(g_Device, &info, g_Allocator, &g_FontSampler);
|
err = vkCreateSampler(g_Device, &info, g_Allocator, &g_FontSampler);
|
||||||
ImGui_ImplGlfwVulkan_VkResult(err);
|
ImGui_ImplGlfwVulkan_VkResult(err);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user