From a237200cef610c8d156068523a615cbed41530ba Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 18 Sep 2019 11:18:38 +0100 Subject: [PATCH] Fix NULL being included in marker in D3D12 test --- util/test/demos/d3d12/d3d12_overlay_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/test/demos/d3d12/d3d12_overlay_test.cpp b/util/test/demos/d3d12/d3d12_overlay_test.cpp index 908b6ce38..322e75c73 100644 --- a/util/test/demos/d3d12/d3d12_overlay_test.cpp +++ b/util/test/demos/d3d12/d3d12_overlay_test.cpp @@ -177,7 +177,7 @@ RD_TEST(D3D12_Overlay_Test, D3D12GraphicsTest) cmd->DrawInstanced(3, 1, 6, 0); // add a marker so we can easily locate this draw - cmd->SetMarker(1, "Test Begin", sizeof("Test Begin")); + cmd->SetMarker(1, "Test Begin", sizeof("Test Begin") - 1); cmd->SetPipelineState(pipe); cmd->DrawInstanced(24, 1, 9, 0);