From a855bd8df3ca172e17fc7bb5ac88e0a76bd9b965 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 24 Oct 2024 00:20:13 +0200 Subject: [PATCH] Backends: SDL2: Replace SDL_Vulkan_GetDrawableSize() forward declaration with the actual include. (#8095, #7967, #3190) --- backends/imgui_impl_sdl2.cpp | 2 +- docs/CHANGELOG.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backends/imgui_impl_sdl2.cpp b/backends/imgui_impl_sdl2.cpp index d87f5081e..7a8af3b82 100644 --- a/backends/imgui_impl_sdl2.cpp +++ b/backends/imgui_impl_sdl2.cpp @@ -115,7 +115,7 @@ #endif #define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6) #if SDL_HAS_VULKAN -extern "C" { extern DECLSPEC void SDLCALL SDL_Vulkan_GetDrawableSize(SDL_Window* window, int* w, int* h); } +#include #endif // SDL Data diff --git a/docs/CHANGELOG.txt b/docs/CHANGELOG.txt index 997acce28..2e8d2823f 100644 --- a/docs/CHANGELOG.txt +++ b/docs/CHANGELOG.txt @@ -44,8 +44,9 @@ Breaking changes: Other changes: - Backends: DX12: Unmap() call specify written range. The range is informational and may be used by debug tools. -- Backends: SDL3: Update for SDL3 api change: SDL_EVENT_MOUSE_WHEEL event doesn't require dividing by 100.0f - on Emscripten target. (#4019, #6096, #1463) +- Backends: SDL2: Replace SDL_Vulkan_GetDrawableSize() forward declaration with the actual include. (#8095, #7967, #3190) [@sev-] +- Backends: SDL2, SDL3: SDL_EVENT_MOUSE_WHEEL event doesn't require dividing + by 100.0f on Emscripten target. (#4019, #6096, #1463) ----------------------------------------------------------------------- VERSION 1.91.4 (Released 2024-10-18)