summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-14 14:13:38 +0200
committerLioncash <mathew1800@gmail.com>2020-08-14 14:13:41 +0200
commit83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6 (patch)
tree7d501e4f83b97b6c4914158f11dd2c31b7733675 /src
parentMerge pull request #4495 from lioncash/conv (diff)
downloadyuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar.gz
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar.bz2
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar.lz
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar.xz
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar.zst
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/maxwell_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index ef1618990..c97eeb792 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -647,7 +647,7 @@ public:
GetX() + GetWidth(), // right
GetY() // bottom
};
- };
+ }
f32 GetX() const {
return std::max(0.0f, translate_x - std::fabs(scale_x));