summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-16 06:55:15 +0200
committerGitHub <noreply@github.com>2020-08-16 06:55:15 +0200
commit404362e1b070960cdc2c600ca206c2b792d8a880 (patch)
tree119da3820aff505453851335d5ef08c37cd34872 /src/video_core
parentMerge pull request #4526 from lioncash/core-semi (diff)
parentmaxwell_3d: Resolve -Wextra-semi warning (diff)
downloadyuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar.gz
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar.bz2
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar.lz
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar.xz
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.tar.zst
yuzu-404362e1b070960cdc2c600ca206c2b792d8a880.zip
Diffstat (limited to 'src/video_core')
-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));