to make the assert ok in CaptureBufferDX11