mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 20:25:58 +00:00
Cosmetics.
This commit is contained in:
parent
959d1879e5
commit
8c1c7fc2da
4 changed files with 12 additions and 12 deletions
|
@ -482,10 +482,7 @@ void Renderer::SetViewport()
|
|||
width = (x + width <= GetTargetWidth()) ? width : (GetTargetWidth() - x);
|
||||
height = (y + height <= GetTargetHeight()) ? height : (GetTargetHeight() - y);
|
||||
|
||||
D3D12_VIEWPORT vp = {
|
||||
x, y, width, height,
|
||||
D3D12_MIN_DEPTH,
|
||||
16777215.0f / 16777216.0f };
|
||||
D3D12_VIEWPORT vp = {x, y, width, height, D3D12_MIN_DEPTH, 16777215.0f / 16777216.0f};
|
||||
|
||||
D3D::current_command_list->RSSetViewports(1, &vp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue