From 7d80a8f4f502557685ba1f4ed0e4603e86745d40 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 20 Feb 2020 12:21:11 +0100 Subject: [PATCH] Backends: Fix ImGui_ImplSDL2_InitForMetal() in docking branch. --- examples/imgui_impl_sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/imgui_impl_sdl.cpp b/examples/imgui_impl_sdl.cpp index 138a1d3a..08cf9924 100644 --- a/examples/imgui_impl_sdl.cpp +++ b/examples/imgui_impl_sdl.cpp @@ -259,7 +259,7 @@ bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window) bool ImGui_ImplSDL2_InitForMetal(SDL_Window* window) { - return ImGui_ImplSDL2_Init(window); + return ImGui_ImplSDL2_Init(window, NULL); } void ImGui_ImplSDL2_Shutdown()