summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit.cpp')
-rw-r--r--source/slang/slang-emit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp
index 755a005d1..45eef5148 100644
--- a/source/slang/slang-emit.cpp
+++ b/source/slang/slang-emit.cpp
@@ -583,10 +583,10 @@ String emitEntryPointSource(
{
const SourceLanguage sourceLanguage = (sourceStyle == SourceStyle::C) ? SourceLanguage::C : SourceLanguage::CPP;
// Get the compiler used for the language
- DownstreamCompiler* compiler = session->getDefaultCPPCompiler(sourceLanguage);
+ DownstreamCompiler* compiler = session->getDefaultDownstreamCompiler(sourceLanguage);
if (compiler)
{
- passThru = getPassThroughModeForCPPCompiler(compiler->getDesc().type);
+ passThru = getPassThroughModeForDownstreamCompiler(compiler->getDesc().type);
}
}