diff options
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 23f7a4e47..247098434 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -316,7 +316,7 @@ CompileRequest::CompileRequest(Session* session) // Set up the default file system SLANG_ASSERT(fileSystem == nullptr); - fileSystemExt = new CacheFileSystem(DefaultFileSystem::getSingleton()); + fileSystemExt = new CacheFileSystem(OSFileSystem::getSingleton()); } // Allocate static const storage for the various interface IDs that the Slang API needs to expose @@ -1251,7 +1251,7 @@ SLANG_API void spSetFileSystem( // Set up fileSystemExt appropriately if (fileSystem == nullptr) { - req->fileSystemExt = new Slang::CacheFileSystem(Slang::DefaultFileSystem::getSingleton()); + req->fileSystemExt = new Slang::CacheFileSystem(Slang::OSFileSystem::getSingleton()); } else { |
