Skip to content

Commit 6f86ba9

Browse files
committed
ah sry I forgot about my utility "archiveAlias" ok ok
1 parent c211346 commit 6f86ba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nbl/ext/ImGui/ImGui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const smart_refctd_ptr<IFileArchive> UI::mount(smart_refctd_ptr<ILogger> logger,
131131
#else
132132
auto NBL_EXTENSION_MOUNT_DIRECTORY_ENTRY = (path(_ARCHIVE_ABSOLUTE_ENTRY_PATH_) / NBL_ARCHIVE_ENTRY).make_preferred();
133133
auto archive = make_smart_refctd_ptr<nbl::system::CMountDirectoryArchive>(std::move(NBL_EXTENSION_MOUNT_DIRECTORY_ENTRY), smart_refctd_ptr(logger), system);
134-
system->mount(smart_refctd_ptr(archive), NBL_ARCHIVE_ENTRY);
134+
system->mount(smart_refctd_ptr(archive), archiveAlias.data());
135135
#endif
136136

137137
return smart_refctd_ptr(archive);
@@ -262,7 +262,7 @@ core::smart_refctd_ptr<video::IGPUGraphicsPipeline> UI::createPipeline(SCreation
262262

263263
//! but we should never assume user will mount our internal data since its the extension and not user's job to do it so we do to compile our extension sources
264264
if(!system->isDirectory(path(NBL_ARCHIVE_ENTRY.data())))
265-
mount(smart_refctd_ptr<ILogger>(creationParams.utilities->getLogger()), system.get());
265+
mount(smart_refctd_ptr<ILogger>(creationParams.utilities->getLogger()), system.get(), NBL_ARCHIVE_ENTRY);
266266

267267
shaders.vertex = createShader.template operator() < NBL_CORE_UNIQUE_STRING_LITERAL_TYPE("vertex.hlsl"), IShader::E_SHADER_STAGE::ESS_VERTEX > ();
268268
shaders.fragment = createShader.template operator() < NBL_CORE_UNIQUE_STRING_LITERAL_TYPE("fragment.hlsl"), IShader::E_SHADER_STAGE::ESS_FRAGMENT > ();

0 commit comments

Comments
 (0)