Headless: Load assets from parent dir on Windows.

This is the default debug setting in our MSVC project, so make it easy.
This commit is contained in:
Unknown W. Brackets 2023-03-12 13:34:41 -07:00
parent 7e910b7d65
commit c127ff47a3

View file

@ -71,6 +71,7 @@ void WindowsHeadlessHost::LoadNativeAssets()
g_VFS.Register("", new DirectoryReader(Path("assets")));
g_VFS.Register("", new DirectoryReader(Path("")));
g_VFS.Register("", new DirectoryReader(Path("..")));
g_VFS.Register("", new DirectoryReader(Path("../assets")));
g_VFS.Register("", new DirectoryReader(Path("../Windows/assets")));
g_VFS.Register("", new DirectoryReader(Path("../Windows")));
}