Fixed typedef redefinition errors when including both SDL_vulkan.h and vulkan.h
You should always include vulkan/vulkan.h first, then include SDL_vulkan.h
This commit is contained in:
1 parent
9da4717d12
commit
37ce9f2773
6 files changed
+40
-36
No files matched your search
@@ -32,9 +32,9 @@
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
/* !!! FIXME: Shouldn't these be included in SDL.h? */
|
||||
#include "SDL_shape.h"
|
||||
/* These headers have system specific definitions, so aren't included above */
|
||||
#include "SDL_syswm.h"
|
||||
#include "SDL_vulkan.h"
|
||||
|
||||
/* This is the version of the dynamic API. This doesn't match the SDL version
|
||||
and should not change until there's been a major revamp in API/ABI.
|
||||
|
||||
Reference in new issue
Block a user