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