Skip to content

Commit 02b9797

Browse files
committed
Backends: SDL3: fixes use of now removed SDL_bool.
1 parent e80498f commit 02b9797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/imgui_impl_sdl3.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ static int ImGui_ImplSDL3_CreateVkSurface(ImGuiViewport* viewport, ImU64 vk_inst
11041104
{
11051105
ImGui_ImplSDL3_ViewportData* vd = (ImGui_ImplSDL3_ViewportData*)viewport->PlatformUserData;
11061106
(void)vk_allocator;
1107-
SDL_bool ret = SDL_Vulkan_CreateSurface(vd->Window, (VkInstance)vk_instance, (VkAllocationCallbacks*)vk_allocator, (VkSurfaceKHR*)out_vk_surface);
1107+
bool ret = SDL_Vulkan_CreateSurface(vd->Window, (VkInstance)vk_instance, (VkAllocationCallbacks*)vk_allocator, (VkSurfaceKHR*)out_vk_surface);
11081108
return ret ? 0 : 1; // ret ? VK_SUCCESS : VK_NOT_READY
11091109
}
11101110

0 commit comments

Comments
 (0)