Renderer: Move depth state to VideoCommon and seperate from bpmem

This commit is contained in:
Stenzek committed 2017-09-11 19:40:26 +10:00
1 parent 4d36f0cc87
commit 2869c570f1
20 files changed
+80 -104

No files matched your search

+4 -2
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);
}