summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorKloen <kloen@outlawkiwi.com>2017-01-23 14:08:41 +0100
committerKloen <kloen@outlawkiwi.com>2017-01-23 16:53:30 +0100
commitb6063d9a9388547eac43f012ad3449e99c65241f (patch)
tree0501c8184a2627f59e1311f488c016365e6bae1e /src/video_core
parentcore: fix mic_u warnings on MSVC (diff)
downloadyuzu-b6063d9a9388547eac43f012ad3449e99c65241f.tar
yuzu-b6063d9a9388547eac43f012ad3449e99c65241f.tar.gz
yuzu-b6063d9a9388547eac43f012ad3449e99c65241f.tar.bz2
yuzu-b6063d9a9388547eac43f012ad3449e99c65241f.tar.lz
yuzu-b6063d9a9388547eac43f012ad3449e99c65241f.tar.xz
yuzu-b6063d9a9388547eac43f012ad3449e99c65241f.tar.zst
yuzu-b6063d9a9388547eac43f012ad3449e99c65241f.zip
Diffstat (limited to 'src/video_core')
-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 e1a9cb361..cc3e4bed5 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -76,7 +76,7 @@ union PicaShaderConfig {
}
state.fog_mode = regs.fog_mode;
- state.fog_flip = regs.fog_flip;
+ state.fog_flip = regs.fog_flip != 0;
state.combiner_buffer_input = regs.tev_combiner_buffer_input.update_mask_rgb.Value() |
regs.tev_combiner_buffer_input.update_mask_a.Value() << 4;