diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-14 08:13:38 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-14 08:13:41 -0400 |
commit | 83d8bf9af9e3f342b6d1bc708a7ea5d88a6aaed6 (patch) | |
tree | 7d501e4f83b97b6c4914158f11dd2c31b7733675 /src | |
parent | e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f (diff) |
maxwell_3d: Resolve -Wextra-semi warning
Semicolons after a function definition aren't necessary.
Diffstat (limited to 'src')
-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 ef1618990b..c97eeb792a 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)); |