diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-16 00:55:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-16 00:55:15 -0400 |
commit | 404362e1b070960cdc2c600ca206c2b792d8a880 (patch) | |
tree | 119da3820aff505453851335d5ef08c37cd34872 | |
parent | 2b601e86360ea47df5b3cb1a280177f428763837 (diff) | |
parent | 83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6 (diff) |
Merge pull request #4519 from lioncash/semi
maxwell_3d: Resolve -Wextra-semi warning
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 2 |
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)); |