mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-15 00:44:20 +00:00
Examples: SDL: Fix for versions olders than 2.0.6
This commit is contained in:
parent
d0e0b106f0
commit
83ef61fa56
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@
|
|||
#define SDL_HAS_CAPTURE_MOUSE SDL_VERSION_ATLEAST(2,0,4)
|
||||
#define SDL_HAS_WINDOW_OPACITY SDL_VERSION_ATLEAST(2,0,5)
|
||||
#define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6)
|
||||
#if !SDL_HAS_VULKAN
|
||||
static const Uint32 SDL_WINDOW_VULKAN = 0x10000000;
|
||||
#endif
|
||||
|
||||
// Data
|
||||
static SDL_Window* g_Window = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue