resource manager filedata retention changes (#857)

This commit is contained in:
Turánszki János
2024-06-06 09:18:42 +02:00
committed by GitHub
parent e631268768
commit a988218755
21 changed files with 141 additions and 119 deletions
@@ -1199,7 +1199,7 @@ void Example_ImGuiRenderer::Update(float dt)
wi::helper::screenshot(myswapChain, name);
MaterialComponent::TextureMap tm;
tm.resource = wi::resourcemanager::Load(name, wi::resourcemanager::Flags::IMPORT_RETAIN_FILEDATA);
tm.resource = wi::resourcemanager::Load(name);
tm.name = name;
screenshots.push_back(tm);
}