Add missing changes for Clear
This commit is contained in:
parent
914326acf7
commit
70b419155b
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,12 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
||||||
/// <param name="argument">Method call argument</param>
|
/// <param name="argument">Method call argument</param>
|
||||||
private void Clear(GpuState state, int argument)
|
private void Clear(GpuState state, int argument)
|
||||||
{
|
{
|
||||||
|
// Scissor affects clears aswell.
|
||||||
|
if (state.QueryModified(MethodOffset.ScissorState))
|
||||||
|
{
|
||||||
|
UpdateScissorState(state);
|
||||||
|
}
|
||||||
|
|
||||||
UpdateRenderTargetState(state, useControl: false);
|
UpdateRenderTargetState(state, useControl: false);
|
||||||
|
|
||||||
TextureManager.CommitGraphicsBindings();
|
TextureManager.CommitGraphicsBindings();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue