Fixed DynLib::Load not emitting error on failure
Former-commit-id: 73d792ccaf18533a04f834f6cefcd2eb844c2100
This commit is contained in:
parent
b85a5bd5d5
commit
5132ada030
|
|
@ -73,7 +73,10 @@ bool NzDynLib::Load(const NzString& libraryPath, bool appendExtension)
|
|||
|
||||
std::unique_ptr<NzDynLibImpl> impl(new NzDynLibImpl(this));
|
||||
if (!impl->Load(path, &m_lastError))
|
||||
{
|
||||
NazaraError("Failed to load library: " + m_lastError);
|
||||
return false;
|
||||
}
|
||||
|
||||
m_impl = impl.release();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue