mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
Renderer: Move depth state to VideoCommon and seperate from bpmem
This commit is contained in:
parent
4d36f0cc87
commit
2869c570f1
20 changed files with 80 additions and 104 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue