diff options
| author | 2015-02-16 21:51:37 +0000 | |
|---|---|---|
| committer | 2015-02-16 21:51:37 +0000 | |
| commit | 8a1c08a0af38a9b2dc768f0d695cb8ed2d680fdd (patch) | |
| tree | c90fc345b2f7a6ed361974ee1bc0bbe18149e5d0 /src | |
| parent | Merge pull request #539 from linkmauve/framebuffer-formats (diff) | |
| download | yuzu-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.h | 2 |
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 | ||
| 633 | template<typename T> | 633 | template<typename T> |
| 634 | static inline Vec4<T> MakeVec(const T& x, const Vec2<T>& yzw) | 634 | static 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 | } |