summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot2015-02-16 21:51:37 +0000
committerGravatar Emmanuel Gil Peyrot2015-02-16 21:51:37 +0000
commit8a1c08a0af38a9b2dc768f0d695cb8ed2d680fdd (patch)
treec90fc345b2f7a6ed361974ee1bc0bbe18149e5d0 /src
parentMerge pull request #539 from linkmauve/framebuffer-formats (diff)
downloadyuzu-8a1c08a0af38a9b2dc768f0d695cb8ed2d680fdd.tar.gz
yuzu-8a1c08a0af38a9b2dc768f0d695cb8ed2d680fdd.tar.xz
yuzu-8a1c08a0af38a9b2dc768f0d695cb8ed2d680fdd.zip
VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/math.h b/src/video_core/math.h
index c176b225a..f9a822658 100644
--- a/src/video_core/math.h
+++ b/src/video_core/math.h
@@ -631,7 +631,7 @@ static inline Vec4<T> MakeVec(const Vec3<T>& xyz, const T& w)
631} 631}
632 632
633template<typename T> 633template<typename T>
634static inline Vec4<T> MakeVec(const T& x, const Vec2<T>& yzw) 634static inline Vec4<T> MakeVec(const T& x, const Vec3<T>& yzw)
635{ 635{
636 return MakeVec(x, yzw[0], yzw[1], yzw[2]); 636 return MakeVec(x, yzw[0], yzw[1], yzw[2]);
637} 637}