Browse Source

Fixed merge.

omar 7 years ago
parent
commit
d3ee3e7ab5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/imgui_impl_vulkan.cpp

+ 1 - 1
examples/imgui_impl_vulkan.cpp

@@ -1175,7 +1175,7 @@ static void ImGui_ImplVulkan_RenderWindow(ImGuiViewport* viewport, void*)
         }
     }
 
-    ImGui_ImplVulkan_RenderDrawData(wd->Frames[wd->FrameIndex].CommandBuffer, viewport->DrawData);
+    ImGui_ImplVulkan_RenderDrawData(viewport->DrawData, wd->Frames[wd->FrameIndex].CommandBuffer);
 
     {
         ImGui_ImplVulkanH_FrameData* fd = &wd->Frames[wd->FrameIndex];