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:
parent
9da4717d12
commit
37ce9f2773
6 changed files with 40 additions and 36 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue