Skip to content

Commit

Permalink
[d3d11] Fix RSGetViewports and RSGetScissorRects behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
K0bin authored and doitsujin committed Jul 8, 2019
1 parent 24e1969 commit 47f7333
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/d3d11/d3d11_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2858,9 +2858,9 @@ namespace dxvk {
pViewports[i].MaxDepth = 0.0f;
}
}
} else {
*pNumViewports = m_state.rs.numViewports;
}

*pNumViewports = m_state.rs.numViewports;
}


Expand All @@ -2880,9 +2880,9 @@ namespace dxvk {
pRects[i].bottom = 0;
}
}
} else {
*pNumRects = m_state.rs.numScissors;
}

*pNumRects = m_state.rs.numScissors;
}


Expand Down

0 comments on commit 47f7333

Please sign in to comment.