aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/dirty_flags.cpp
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2022-10-10 20:32:38 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2022-10-10 20:59:57 +0100
commit4496030ea9bd873d101628a8eb943b976ec7b07a (patch)
treed26b116981aa0dd9eaec5e951976d59a63322de4 /src/video_core/dirty_flags.cpp
parentc3cae9d99263afd46a1d3205b29cfa62bebd18b3 (diff)
Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong.
Diffstat (limited to 'src/video_core/dirty_flags.cpp')
-rw-r--r--src/video_core/dirty_flags.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/dirty_flags.cpp b/src/video_core/dirty_flags.cpp
index 1039e036f..c2ecc12f5 100644
--- a/src/video_core/dirty_flags.cpp
+++ b/src/video_core/dirty_flags.cpp
@@ -61,7 +61,7 @@ void SetupDirtyRenderTargets(Maxwell3D::DirtyState::Tables& tables) {
}
void SetupDirtyShaders(Maxwell3D::DirtyState::Tables& tables) {
- FillBlock(tables[0], OFF(pipelines), NUM(pipelines) * Maxwell3D::Regs::MaxShaderProgram,
+ FillBlock(tables[0], OFF(pipelines), NUM(pipelines[0]) * Maxwell3D::Regs::MaxShaderProgram,
Shaders);
}
} // Anonymous namespace