diff --git a/Source/Core/VideoBackends/Software/Vec3.h b/Source/Core/VideoBackends/Software/Vec3.h index 1337ed77c4..da54327fe2 100644 --- a/Source/Core/VideoBackends/Software/Vec3.h +++ b/Source/Core/VideoBackends/Software/Vec3.h @@ -150,10 +150,7 @@ public: bool operator==(const Vec3 &other) const { - if (x == other.x && y == other.y && z == other.z) - return true; - else - return false; + return x == other.x && y == other.y && z == other.z; } void SetZero()