Skip to content

Commit

Permalink
Backends: SDL2: Replace SDL_Vulkan_GetDrawableSize() forward declarat…
Browse files Browse the repository at this point in the history
…ion with the actual include. (#8095, #7967, #3190)
  • Loading branch information
sev- authored and ocornut committed Oct 24, 2024
1 parent 06092a9 commit a855bd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backends/imgui_impl_sdl2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <SDL_vulkan.h>
#endif

// SDL Data
Expand Down
5 changes: 3 additions & 2 deletions docs/CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a855bd8

Please sign in to comment.