Assertion Failure deleting surfaces
I am creating a dynamic array of LPDIRECTDRAWSURFACE7's using new. Then when I delete it, in debug, it passes the "delete[] srf" statement without error. However, it causes an Assertion Failure later on:
File: dbgdel.cpp
Line: 47
Expression: _BLOCK_TYPE_IS_VALID(phead->nBlockUse)
What could be causing this?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement