16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00

Better Split implementation and remove of unused overloads

This commit is contained in:
docentYT
2026-05-01 01:55:46 +02:00
parent 350123fb9e
commit b59ccb6de5
3 changed files with 8 additions and 32 deletions

View File

@@ -415,7 +415,7 @@ bool NvTexture::CreateRhiTexture() {
backend->GetDevice()->executeCommandList(command_list,
nvrhi::CommandQueue::Graphics);
if (m_sz_texture->get_type() == "make:") {
auto const components{Split(std::string(m_sz_texture->get_name()), '?')};
auto const components{Split(m_sz_texture->get_name(), '?')};
auto dictionary = std::make_shared<dictionary_source>(components.back());