summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
-rw-r--r--Source/Core/VideoCommon/BPFunctions.cpp6
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);
}