summaryrefslogtreecommitdiffstats
path: root/tools/gfx/render.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-04-01 19:37:54 -0400
committerGitHub <noreply@github.com>2021-04-01 19:37:54 -0400
commite1ad4a2d9b7ee615397721fa1117499914c9efc3 (patch)
tree55037a70cbed36dc73d5c0338701093a444a5c99 /tools/gfx/render.cpp
parent0ec8e5b016e56ad491a418ab72a5be28dd83f3b4 (diff)
cygwin - disable VK/CUDA (#1777)
* #include an absolute path didn't work - because paths were taken to always be relative. * Disable Vulkan and CUDA on cygwin. Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/render.cpp')
-rw-r--r--tools/gfx/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp
index 183afaffd..81fa73f22 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -91,7 +91,7 @@ extern "C"
return SLANG_FAIL;
}
break;
-#elif SLANG_LINUX_FAMILY
+#elif SLANG_LINUX_FAMILY && !defined(__CYGWIN__)
case DeviceType::Default:
case DeviceType::Vulkan:
{