mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Renderer: Move depth state to VideoCommon and seperate from bpmem
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user