ULONG Direct3DExecuteBuffer::Release()
{
	std::ostringstream str;
	str << this << " " << __FUNCTION__;

	LogText(str.str());

	ULONG count = this->_original->Release();

	if (count == 0)
	{
		RemoveWrapper(this->_original);
		delete this;
	}

	return count;
}
DirectDrawClipper::~DirectDrawClipper()
{
	RemoveWrapper(this->_original);
}
Example #3
0
DirectDraw::~DirectDraw()
{
	RemoveWrapper(this->_original);
}