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
288267a066
commit
eb767f3e1b
6 changed files with 40 additions and 36 deletions
|
@ -33,6 +33,7 @@ int main(int argc, char *argv[])
|
|||
/* SDL includes a copy for building on systems without the Vulkan SDK */
|
||||
#include "../src/video/khronos/vulkan/vulkan.h"
|
||||
#endif
|
||||
#include "SDL_vulkan.h"
|
||||
|
||||
#ifndef UINT64_MAX /* VS2008 */
|
||||
#define UINT64_MAX 18446744073709551615
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue