summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2020-08-14 08:13:38 -0400
committerGravatar Lioncash2020-08-14 08:13:41 -0400
commit83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6 (patch)
tree7d501e4f83b97b6c4914158f11dd2c31b7733675
parentMerge pull request #4495 from lioncash/conv (diff)
downloadyuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar.gz
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.tar.xz
yuzu-83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6.zip
maxwell_3d: Resolve -Wextra-semi warning
Semicolons after a function definition aren't necessary.
-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));