From 9d452bdb2df85adff77c19ab85cd26b24cbeadbf Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Wed, 25 Nov 2015 13:26:15 -0700 Subject: wsi: Moved definition of CreateXxxSurface extension to CMakefile Removed component-specific definitions --- demos/cube.c | 3 --- demos/tri.c | 3 --- demos/vulkaninfo.c | 4 ---- 3 files changed, 10 deletions(-) (limited to 'demos') 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 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 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 #ifdef _WIN32 -#define VK_USE_PLATFORM_WIN32_KHR #include #include - -#else // _WIN32 -#define VK_USE_PLATFORM_XCB_KHR #endif // _WIN32 -- cgit v1.2.3