diff --git a/src/xenia/gpu/d3d12/deferred_command_list.cc b/src/xenia/gpu/d3d12/deferred_command_list.cc index eb8d8922e..e618931d4 100644 --- a/src/xenia/gpu/d3d12/deferred_command_list.cc +++ b/src/xenia/gpu/d3d12/deferred_command_list.cc @@ -221,7 +221,9 @@ void DeferredCommandList::Execute(ID3D12GraphicsCommandList* command_list, *reinterpret_cast(stream); command_list_1->SetSamplePositions( args.num_samples_per_pixel, args.num_pixels, - const_cast(args.sample_positions)); + (args.num_samples_per_pixel && args.num_pixels) + ? const_cast(args.sample_positions) + : nullptr); } } break; default: