소스 검색

gl_rasterizer: Fix compilation for debug builds

Lioncash 10 년 전
부모
커밋
75e5d0a6a0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video_core/renderer_opengl/gl_rasterizer.h

+ 1 - 1
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
         // We don't sync const_color here because of the high variance, it is a
         // shader uniform instead.
         // shader uniform instead.
         const auto& tev_stages = regs.GetTevStages();
         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++) {
         for (size_t i = 0; i < tev_stages.size(); i++) {
             const auto& tev_stage = tev_stages[i];
             const auto& tev_stage = tev_stages[i];
             state.tev_stages[i].sources_raw = tev_stage.sources_raw;
             state.tev_stages[i].sources_raw = tev_stage.sources_raw;