Skip to content

Commit 17eea19

Browse files
authored
Merge pull request #89 from mbellew/perpixelmathtest
fix _mm_pow(), see https://github.com/projectM-visualizer/projectm/is…
2 parents fb53ca9 + a94f710 commit 17eea19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libprojectM/MilkdropPresetFactory/PresetFrameIO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ inline __m128 _mm_pow(__m128 x, __m128 y)
241241
float X[4];
242242
float Y[4];
243243
_mm_store_ps(X,x);
244-
_mm_store_ps(Y,x);
244+
_mm_store_ps(Y,y);
245245
X[0] = __builtin_powf(X[0],Y[0]);
246246
X[1] = __builtin_powf(X[1],Y[1]);
247247
X[2] = __builtin_powf(X[2],Y[2]);

0 commit comments

Comments
 (0)