mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 09:27:00 +00:00
Examples: SDL: Fix for versions olders than 2.0.6
This commit is contained in:
parent
d0e0b106f0
commit
83ef61fa56
@ -35,6 +35,9 @@
|
|||||||
#define SDL_HAS_CAPTURE_MOUSE SDL_VERSION_ATLEAST(2,0,4)
|
#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_WINDOW_OPACITY SDL_VERSION_ATLEAST(2,0,5)
|
||||||
#define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6)
|
#define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6)
|
||||||
|
#if !SDL_HAS_VULKAN
|
||||||
|
static const Uint32 SDL_WINDOW_VULKAN = 0x10000000;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Data
|
// Data
|
||||||
static SDL_Window* g_Window = NULL;
|
static SDL_Window* g_Window = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user