mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-16 00:54:19 +00:00
About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose.
This commit is contained in:
parent
4ef06f5aa2
commit
a423f032ee
19 changed files with 66 additions and 7 deletions
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
// CHANGELOG
|
||||
// (minor and older changes stripped away, please see git history for details)
|
||||
// 2018-11-30: Misc: Setting up io.BackendRendererName so it can be displayed in the About Window.
|
||||
// 2018-08-25: Vulkan: Fixed mishandled VkSurfaceCapabilitiesKHR::maxImageCount=0 case.
|
||||
// 2018-06-22: Inverted the parameters to ImGui_ImplVulkan_RenderDrawData() to be consistent with other bindings.
|
||||
// 2018-06-08: Misc: Extracted imgui_impl_vulkan.cpp/.h away from the old combined GLFW+Vulkan example.
|
||||
|
|
@ -695,6 +696,9 @@ void ImGui_ImplVulkan_InvalidateDeviceObjects()
|
|||
|
||||
bool ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info, VkRenderPass render_pass)
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.BackendRendererName = "imgui_impl_vulkan";
|
||||
|
||||
IM_ASSERT(info->Instance != VK_NULL_HANDLE);
|
||||
IM_ASSERT(info->PhysicalDevice != VK_NULL_HANDLE);
|
||||
IM_ASSERT(info->Device != VK_NULL_HANDLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue