mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 20:31:02 +00:00
Don't include NULL in ID3D12CommandQueueDownlevel::Present marker
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user