summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-compiler.cpp')
-rw-r--r--source/slang/slang-compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp
index 4126b79eb..c0c2c09c5 100644
--- a/source/slang/slang-compiler.cpp
+++ b/source/slang/slang-compiler.cpp
@@ -2722,7 +2722,7 @@ SLANG_NO_THROW char const* SLANG_MCALL Module::getDependencyFilePath(SlangInt32
{
SourceFile* sourceFile = getFileDependencies()[index];
return sourceFile->getPathInfo().hasFoundPath()
- ? sourceFile->getPathInfo().foundPath.getBuffer()
+ ? sourceFile->getPathInfo().getMostUniqueIdentity().getBuffer()
: nullptr;
}