summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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));