summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2016-05-10 15:52:05 +0200
committerMat M <mathew1800@gmail.com>2016-05-10 15:52:05 +0200
commit1ec13251173810a71e39b1938a234013e667ebf2 (patch)
tree8a63b65e4f362853a9c86d85499381254a9b04a9 /src/video_core/renderer_opengl
parentMerge pull request #1704 from JayFoxRox/pod-config (diff)
parentgl_rasterizer: Fix compilation for debug builds (diff)
downloadyuzu-1ec13251173810a71e39b1938a234013e667ebf2.tar
yuzu-1ec13251173810a71e39b1938a234013e667ebf2.tar.gz
yuzu-1ec13251173810a71e39b1938a234013e667ebf2.tar.bz2
yuzu-1ec13251173810a71e39b1938a234013e667ebf2.tar.lz
yuzu-1ec13251173810a71e39b1938a234013e667ebf2.tar.xz
yuzu-1ec13251173810a71e39b1938a234013e667ebf2.tar.zst
yuzu-1ec13251173810a71e39b1938a234013e667ebf2.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index 4f9a032fb..5afcf296d 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -63,7 +63,7 @@ union PicaShaderConfig {
// We don't sync const_color here because of the high variance, it is a
// shader uniform instead.
const auto& tev_stages = regs.GetTevStages();
- DEBUG_ASSERT(res.tev_stages.size() == tev_stages.size());
+ DEBUG_ASSERT(state.tev_stages.size() == tev_stages.size());
for (size_t i = 0; i < tev_stages.size(); i++) {
const auto& tev_stage = tev_stages[i];
state.tev_stages[i].sources_raw = tev_stage.sources_raw;