Renderer: Move depth state to VideoCommon and seperate from bpmem

This commit is contained in:
Stenzek 2017-04-30 15:54:45 +10:00
parent 4d36f0cc87
commit 2869c570f1
20 changed files with 80 additions and 104 deletions

View file

@ -68,12 +68,14 @@ void SetScissor()
void SetDepthMode()
{
g_renderer->SetDepthMode();
DepthState state = {};
state.Generate(bpmem);
g_renderer->SetDepthState(state);
}
void SetBlendMode()
{
BlendingState state;
BlendingState state = {};
state.Generate(bpmem);
g_renderer->SetBlendingState(state);
}