mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user