summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-20 10:24:30 +0100
committerLioncash <mathew1800@gmail.com>2020-11-20 10:24:33 +0100
commit8469b766303a21790863447375416e66250f42bc (patch)
tree49bde12e961f9517b518cecb364476f77729d9ea /src
parentMerge pull request #4936 from lioncash/page (diff)
downloadyuzu-8469b766303a21790863447375416e66250f42bc.tar
yuzu-8469b766303a21790863447375416e66250f42bc.tar.gz
yuzu-8469b766303a21790863447375416e66250f42bc.tar.bz2
yuzu-8469b766303a21790863447375416e66250f42bc.tar.lz
yuzu-8469b766303a21790863447375416e66250f42bc.tar.xz
yuzu-8469b766303a21790863447375416e66250f42bc.tar.zst
yuzu-8469b766303a21790863447375416e66250f42bc.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 36bf92808..3d0777000 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -1156,7 +1156,7 @@ void RasterizerOpenGL::SyncViewport() {
flags[Dirty::ClipControl] = false;
bool flip_y = false;
- if (regs.viewport_transform[0].scale_y < 0.0) {
+ if (regs.viewport_transform[0].scale_y < 0.0f) {
flip_y = !flip_y;
}
if (regs.screen_y_control.y_negate != 0) {