mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 17:03:44 +00:00
Fix gross bug in VectorBase
This commit is contained in:
parent
a530ae937e
commit
e20d84b1ee
1 changed files with 4 additions and 4 deletions
|
@ -170,8 +170,8 @@ namespace FasTC {
|
|||
VectorSwitch(const TypeOne &a, const TypeTwo &b)
|
||||
: m_A(a), m_B(b) { }
|
||||
|
||||
const TypeOne &GetVector() { return m_A; }
|
||||
const TypeTwo &GetScalar() { return m_B; }
|
||||
const VectorType &GetVector() { return m_A; }
|
||||
const ScalarType &GetScalar() { return m_B; }
|
||||
};
|
||||
|
||||
template<typename TypeOne, typename TypeTwo>
|
||||
|
@ -187,8 +187,8 @@ namespace FasTC {
|
|||
VectorSwitch(const TypeOne &a, const TypeTwo &b)
|
||||
: m_A(a), m_B(b) { }
|
||||
|
||||
const TypeOne &GetVector() { return m_B; }
|
||||
const TypeTwo &GetScalar() { return m_A; }
|
||||
const VectorType &GetVector() { return m_B; }
|
||||
const ScalarType &GetScalar() { return m_A; }
|
||||
};
|
||||
|
||||
template<typename VectorType, typename ScalarType>
|
||||
|
|
Loading…
Reference in a new issue