From 8a1c08a0af38a9b2dc768f0d695cb8ed2d680fdd Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 16 Feb 2015 21:51:37 +0000 Subject: VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3), where the second argument was Vec2 instead. --- src/video_core/math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 MakeVec(const Vec3& xyz, const T& w) } template -static inline Vec4 MakeVec(const T& x, const Vec2& yzw) +static inline Vec4 MakeVec(const T& x, const Vec3& yzw) { return MakeVec(x, yzw[0], yzw[1], yzw[2]); } -- cgit v1.2.3