summaryrefslogtreecommitdiff
path: root/src/common/vector_math.h
diff options
context:
space:
mode:
authorGravatar wwylele2017-07-11 20:08:56 +0300
committerGravatar wwylele2017-07-11 20:08:56 +0300
commitfe44e843fe1e300491d3bcd9072948407a86e7e1 (patch)
treec1f4beceaf37c60bd4dc6f4b736b155e6285c1b1 /src/common/vector_math.h
parentSwRasterizer/Lighting: pass lighting state as parameter (diff)
downloadyuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar.gz
yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.tar.xz
yuzu-fe44e843fe1e300491d3bcd9072948407a86e7e1.zip
vector_math: remove dead template parameter
Diffstat (limited to 'src/common/vector_math.h')
-rw-r--r--src/common/vector_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/vector_math.h b/src/common/vector_math.h
index 49ae87f6d..6e2a5ad60 100644
--- a/src/common/vector_math.h
+++ b/src/common/vector_math.h
@@ -461,7 +461,7 @@ public:
461 z -= other.z; 461 z -= other.z;
462 w -= other.w; 462 w -= other.w;
463 } 463 }
464 template <typename Q = T> 464
465 Vec4<decltype(-T{})> operator-() const { 465 Vec4<decltype(-T{})> operator-() const {
466 return MakeVec(-x, -y, -z, -w); 466 return MakeVec(-x, -y, -z, -w);
467 } 467 }