mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-04 14:17:24 +00:00
[D3D12] Fix custom sample position reset
This commit is contained in:
parent
b7216f91f7
commit
9349cf4ff4
1 changed files with 3 additions and 1 deletions
|
|
@ -221,7 +221,9 @@ void DeferredCommandList::Execute(ID3D12GraphicsCommandList* command_list,
|
|||
*reinterpret_cast<const D3DSetSamplePositionsArguments*>(stream);
|
||||
command_list_1->SetSamplePositions(
|
||||
args.num_samples_per_pixel, args.num_pixels,
|
||||
const_cast<D3D12_SAMPLE_POSITION*>(args.sample_positions));
|
||||
(args.num_samples_per_pixel && args.num_pixels)
|
||||
? const_cast<D3D12_SAMPLE_POSITION*>(args.sample_positions)
|
||||
: nullptr);
|
||||
}
|
||||
} break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue