aboutsummaryrefslogtreecommitdiff
path: root/loader/wsi.c
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2015-11-25 13:26:15 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-01 10:26:04 -0700
commit9d452bdb2df85adff77c19ab85cd26b24cbeadbf (patch)
treec48fdef356eb0ed86e1782b0ef972aac47af2d91 /loader/wsi.c
parent68d7d2390fc6080a00046e35f4b68b2eaa6cc9ea (diff)
downloadusermoji-9d452bdb2df85adff77c19ab85cd26b24cbeadbf.tar.xz
wsi: Moved definition of CreateXxxSurface extension to CMakefile
Removed component-specific definitions
Diffstat (limited to 'loader/wsi.c')
-rw-r--r--loader/wsi.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/loader/wsi.c b/loader/wsi.c
index 7d3616c3..91f47191 100644
--- a/loader/wsi.c
+++ b/loader/wsi.c
@@ -24,23 +24,6 @@
* Author: Ian Elliott <ianelliott@google.com>
*/
-// FIXME/TODO: DEVELOP A BETTER APPROACH FOR SETTING THE DEFAULT VALUES FOR
-// THESE PLATFORM-SPECIFIC MACROS APPROPRIATELY:
-#ifdef _WIN32
-// The Win32 default is to support the WIN32 platform:
-#ifndef VK_USE_PLATFORM_WIN32_KHR
-#define VK_USE_PLATFORM_WIN32_KHR
-#endif
-#else // _WIN32 (i.e. Linux)
-// The Linux default is to support the XCB platform:
-#if (!defined(VK_USE_PLATFORM_MIR_KHR) && \
- !defined(VK_USE_PLATFORM_WAYLAND_KHR) && \
- !defined(VK_USE_PLATFORM_XCB_KHR) && \
- !defined(VK_USE_PLATFORM_XLIB_KHR))
-#define VK_USE_PLATFORM_XCB_KHR
-#endif
-#endif // _WIN32
-
//#define _ISOC11_SOURCE /* for aligned_alloc() */
#define _GNU_SOURCE
#include <stdlib.h>