Fix StateManager usage in ResetAPIState/RestoreAPIState.
Fix screenshots (finally).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5745 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX
2010-06-19 12:48:09 +00:00
parent ab1e5f8537
commit 64ffe0039a
5 changed files with 31 additions and 19 deletions

View File

@ -369,10 +369,10 @@ void Flush()
// update alpha only
Draw(stride, true);
}
gfxstate->Reset();
shader_fail:
ResetBuffer();
gfxstate->ResetShaderResources();
}
} // namespace