1
0
mirror of https://github.com/Drezil/imgui.git synced 2024-12-20 23:06:36 +00:00

Examples: Vulkan: Fixed an extra validation (tested on Windows with VulkanSDK 1.0.46.0) ()

This commit is contained in:
omar 2017-05-01 17:07:53 +02:00
parent f87b152522
commit b0db625cab

View File

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