1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-23 23:31:08 +01:00

Backends: SDL2: Replace SDL_Vulkan_GetDrawableSize() forward declaration with the actual include. (#8095, #7967, #3190)

This commit is contained in:
Eugene Sandulenko 2024-10-24 00:20:13 +02:00 committed by ocornut
parent 06092a9756
commit a855bd8df3
2 changed files with 4 additions and 3 deletions

View File

@ -115,7 +115,7 @@
#endif #endif
#define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6) #define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6)
#if SDL_HAS_VULKAN #if SDL_HAS_VULKAN
extern "C" { extern DECLSPEC void SDLCALL SDL_Vulkan_GetDrawableSize(SDL_Window* window, int* w, int* h); } #include <SDL_vulkan.h>
#endif #endif
// SDL Data // SDL Data

View File

@ -44,8 +44,9 @@ Breaking changes:
Other changes: Other changes:
- Backends: DX12: Unmap() call specify written range. The range is informational and may be used by debug tools. - 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 - Backends: SDL2: Replace SDL_Vulkan_GetDrawableSize() forward declaration with the actual include. (#8095, #7967, #3190) [@sev-]
on Emscripten target. (#4019, #6096, #1463) - 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) VERSION 1.91.4 (Released 2024-10-18)