diff options
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/cube.c | 3 | ||||
| -rw-r--r-- | demos/tri.c | 3 | ||||
| -rw-r--r-- | demos/vulkaninfo.c | 4 |
3 files changed, 0 insertions, 10 deletions
diff --git a/demos/cube.c b/demos/cube.c index 5628c47d..e49ab0b4 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -34,10 +34,7 @@ #ifdef _WIN32 #pragma comment(linker, "/subsystem:windows") -#define VK_USE_PLATFORM_WIN32_KHR #define APP_NAME_STR_LEN 80 -#else // _WIN32 -#define VK_USE_PLATFORM_XCB_KHR #endif // _WIN32 #include <vulkan/vulkan.h> diff --git a/demos/tri.c b/demos/tri.c index cf6bb252..d933700c 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -41,10 +41,7 @@ #ifdef _WIN32 #pragma comment(linker, "/subsystem:windows") -#define VK_USE_PLATFORM_WIN32_KHR #define APP_NAME_STR_LEN 80 -#else // _WIN32 -#define VK_USE_PLATFORM_XCB_KHR #endif // _WIN32 #include <vulkan/vulkan.h> diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index 7a3cadd7..55cf9696 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -32,12 +32,8 @@ #include <inttypes.h> #ifdef _WIN32 -#define VK_USE_PLATFORM_WIN32_KHR #include <fcntl.h> #include <io.h> - -#else // _WIN32 -#define VK_USE_PLATFORM_XCB_KHR #endif // _WIN32 |
