summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-08-16 00:55:15 -0400
committerGravatar GitHub2020-08-16 00:55:15 -0400
commit404362e1b070960cdc2c600ca206c2b792d8a880 (patch)
tree119da3820aff505453851335d5ef08c37cd34872 /src
parentMerge pull request #4526 from lioncash/core-semi (diff)
parentmaxwell_3d: Resolve -Wextra-semi warning (diff)
downloadyuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar.gz
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar.xz
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.zip
Merge pull request #4519 from lioncash/semi
maxwell_3d: Resolve -Wextra-semi warning
Diffstat (limited to '')
-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:
647 GetX() + GetWidth(), // right 647 GetX() + GetWidth(), // right
648 GetY() // bottom 648 GetY() // bottom
649 }; 649 };
650 }; 650 }
651 651
652 f32 GetX() const { 652 f32 GetX() const {
653 return std::max(0.0f, translate_x - std::fabs(scale_x)); 653 return std::max(0.0f, translate_x - std::fabs(scale_x));