aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-02-16 21:51:37 +0000
committerGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-02-16 21:51:37 +0000
commit8a1c08a0af38a9b2dc768f0d695cb8ed2d680fdd (patch)
treec90fc345b2f7a6ed361974ee1bc0bbe18149e5d0 /src/video_core
parent20dc07721cb5035c7eed295033836301a2fe97b8 (diff)
VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead.
Diffstat (limited to 'src/video_core')
-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 c176b225..f9a82265 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)
}
template<typename T>
-static inline Vec4<T> MakeVec(const T& x, const Vec2<T>& yzw)
+static inline Vec4<T> MakeVec(const T& x, const Vec3<T>& yzw)
{
return MakeVec(x, yzw[0], yzw[1], yzw[2]);
}