Renderer: Fix crash when choosing another renderer

This commit is contained in:
Lynix 2020-04-15 19:38:01 +02:00
parent b58b35c322
commit ebb271a089
1 changed files with 1 additions and 1 deletions

View File

@ -94,8 +94,8 @@ namespace Nz
if (chosenImpl)
NazaraDebug("Choose " + impl->QueryAPIString() + " over " + chosenImpl->QueryAPIString());
chosenImpl = std::move(impl); //< Move (and delete previous) implementation before unloading library
chosenLib = std::move(implLib);
chosenImpl = std::move(impl);
}
}