public bool ReleaseIfDefaultPool()
{
if ( this._d3dPool == D3D.Pool.Default )
{
LogManager.Instance.Write( "Releasing D3D9 default pool texture: {0}", Name );
// Just free any internal resources, don't call unload() here
// because we want the un-touched resource to keep its unloaded status
// after device reset.
////Debug.Assert( false, "Release of D3D9 textures is not yet implemented" )
FreeInternalResources();
LogManager.Instance.Write( "Released D3D9 default pool texture: {0}", Name );
return true;
}
return false;
}