Fixed last commit
Former-commit-id: 5034392dbdab232be71f8537638ed75c1c81eab8
This commit is contained in:
@@ -217,15 +217,15 @@ bool NzIndexBuffer::SetStorage(nzBufferStorage storage)
|
||||
return m_buffer->SetStorage(storage);
|
||||
}
|
||||
|
||||
bool NzIndexBuffer::Unmap() const
|
||||
void NzIndexBuffer::Unmap() const
|
||||
{
|
||||
#if NAZARA_UTILITY_SAFE
|
||||
if (!m_buffer)
|
||||
{
|
||||
NazaraError("Impossible to unlock sequential buffers");
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
return m_buffer->Unmap();
|
||||
m_buffer->Unmap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user