소스 검색

VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead.

Emmanuel Gil Peyrot 11 년 전
부모
커밋
8a1c08a0af
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video_core/math.h

+ 1 - 1
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]);
 }