aboutsummaryrefslogtreecommitdiff
path: root/loader/vk_loader_platform.h
diff options
context:
space:
mode:
authorFrank Henigman <fjhenigman@chromium.org>2016-11-24 17:47:26 -0500
committerMark Young <marky@lunarg.com>2016-12-01 10:13:37 -0700
commitb87dc82bc54a7e8985a409131cf6ba1a7fb367a6 (patch)
tree568926cf5dfcee6409cb6aaf66f235d579798b0b /loader/vk_loader_platform.h
parentf4407ce448bc9b9e1a6ca0a7c073d0ca0cd74407 (diff)
downloadusermoji-b87dc82bc54a7e8985a409131cf6ba1a7fb367a6.tar.xz
loader: avoid DEFAULT_VK_LAYERS_PATH redefinition.
Commit df441f60 did this in the win32 section of the file, but missed the linux section. This commit fixes the linux section.
Diffstat (limited to 'loader/vk_loader_platform.h')
-rw-r--r--loader/vk_loader_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h
index 0898b1e5..4c48090f 100644
--- a/loader/vk_loader_platform.h
+++ b/loader/vk_loader_platform.h
@@ -100,7 +100,9 @@
EXTRA_ILAYERS_DATADIR_INFO
#define DEFAULT_VK_DRIVERS_PATH ""
+#if !defined(DEFAULT_VK_LAYERS_PATH)
#define DEFAULT_VK_LAYERS_PATH ""
+#endif
#if !defined(LAYERS_SOURCE_PATH)
#define LAYERS_SOURCE_PATH NULL