Don't include NULL in ID3D12CommandQueueDownlevel::Present marker

This commit is contained in:
baldurk
2019-08-29 10:37:32 +01:00
parent 061a376901
commit 2253c4e75d
@@ -793,7 +793,7 @@ HRESULT STDMETHODCALLTYPE WrappedID3D12CommandQueue::Present(
// add a marker
const char str[] = "ID3D12CommandQueueDownlevel::Present()";
list->SetMarker(PIX_EVENT_ANSI_VERSION, str, sizeof(str));
list->SetMarker(PIX_EVENT_ANSI_VERSION, str, sizeof(str) - 1);
// the list is implicitly closed, serialise that
D3D12ResourceRecord *listRecord = GetRecord(list);