Skip to content

Commit

Permalink
Fixing deallocator
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisShir committed Jun 30, 2020
1 parent 9e86dfe commit 1dc0074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bgfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1975,7 +1975,7 @@ namespace bgfx
{
m_encoder[ii].~EncoderImpl();
}
BX_FREE(g_allocator, m_encoder);
BX_ALIGNED_FREE(g_allocator, m_encoder, 16);
BX_FREE(g_allocator, m_encoderStats);

m_dynVertexBufferAllocator.compact();
Expand Down

0 comments on commit 1dc0074

Please sign in to comment.