diff options
| author | Stenzek <stenzek@gmail.com> | 2017-04-30 15:54:45 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-09-11 19:40:26 +1000 |
| commit | 2869c570f1d0b67d2ee4304ea528bef3ef4b563e (patch) | |
| tree | 2f10d4f34da42a5e9f81706f853451bd8a59a701 /Source/Core/VideoCommon/BPFunctions.cpp | |
| parent | 4d36f0cc87d2cc2bc40ec1c36a65623dc3822f01 (diff) | |
Renderer: Move depth state to VideoCommon and seperate from bpmem
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPFunctions.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp index b74b6f84d4..a482f72fbd 100644 --- a/Source/Core/VideoCommon/BPFunctions.cpp +++ b/Source/Core/VideoCommon/BPFunctions.cpp @@ -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); } |
