1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Backends: Vulkan: fixed broken viewports broken by a6645e1. (#9080, #9068)

This commit is contained in:
ocornut 2025-11-19 13:30:01 +01:00
parent 5e462eb29b
commit eae6e96287

View file

@ -1982,7 +1982,7 @@ static void ImGui_ImplVulkan_CreateWindow(ImGuiViewport* viewport)
IM_DELETE(vd); IM_DELETE(vd);
return; return;
} }
viewport->RendererUserData = nullptr; viewport->RendererUserData = vd;
// Select Surface Format // Select Surface Format
ImGui_ImplVulkan_PipelineInfo* pipeline_info = &v->PipelineInfoForViewports; ImGui_ImplVulkan_PipelineInfo* pipeline_info = &v->PipelineInfoForViewports;