summaryrefslogtreecommitdiff
path: root/source/core/windows
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/windows')
-rw-r--r--source/core/windows/slang-win-visual-studio-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/windows/slang-win-visual-studio-util.h b/source/core/windows/slang-win-visual-studio-util.h
index 1122fccb7..530d18582 100644
--- a/source/core/windows/slang-win-visual-studio-util.h
+++ b/source/core/windows/slang-win-visual-studio-util.h
@@ -55,7 +55,7 @@ struct WinVisualStudioUtil
static DownstreamCompiler::Desc getDesc(Version version)
{
DownstreamCompiler::Desc desc;
- desc.type = DownstreamCompiler::CompilerType::VisualStudio;
+ desc.type = SLANG_PASS_THROUGH_VISUAL_STUDIO;
desc.majorVersion = Int(version) / 10;
desc.minorVersion = Int(version) % 10;
return desc;