Make sure the temporary HRIRs are properly aligned

This commit is contained in:
Chris Robinson
2019-10-01 22:50:28 -07:00
parent 69eb685dbc
commit 2980adb8c0
+1 -1
View File
@@ -296,7 +296,7 @@ void BuildBFormatHrtf(const HrtfEntry *Hrtf, DirectHrtfState *state,
{
using double2 = std::array<double,2>;
struct ImpulseResponse {
std::array<double2,HRIR_LENGTH> hrir;
alignas(16) std::array<double2,HRIR_LENGTH> hrir;
ALuint ldelay, rdelay;
};