Utility/Buffer: Fix Destroy() not really destroying buffer
This commit is contained in:
parent
a8651846ae
commit
e627be3f72
|
|
@ -72,7 +72,7 @@ namespace Nz
|
|||
|
||||
void Buffer::Destroy()
|
||||
{
|
||||
if (!m_impl)
|
||||
if (m_impl)
|
||||
{
|
||||
OnBufferDestroy(this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue