diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-11-25 13:26:15 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-01 10:26:04 -0700 |
| commit | 9d452bdb2df85adff77c19ab85cd26b24cbeadbf (patch) | |
| tree | c48fdef356eb0ed86e1782b0ef972aac47af2d91 /demos | |
| parent | 68d7d2390fc6080a00046e35f4b68b2eaa6cc9ea (diff) | |
| download | usermoji-9d452bdb2df85adff77c19ab85cd26b24cbeadbf.tar.xz | |
wsi: Moved definition of CreateXxxSurface extension to CMakefile
Removed component-specific definitions
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 |
