Examples: SDL: Fix for versions olders than 2.0.6

This commit is contained in:
omar 2018-03-14 14:14:16 +01:00
parent d0e0b106f0
commit 83ef61fa56

View File

@ -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;