Fixed ResampleFrame_SSE doing unnecessary work

This commit is contained in:
Brick authored and Sam Lantinga committed 2023-08-27 13:08:15 -07:00
1 parent b1d63be538
commit f8286df167
1 file changed
+1 -1
+1 -1
View File
@@ -205,7 +205,7 @@ static void SDL_TARGETING("sse") ResampleFrame_SSE(const float* src, float* dst,
int i, chan = 0;
for (; chan + 4 <= chans; chan++) {
for (; chan + 4 <= chans; chan += 4) {
f0 = _mm_setzero_ps();
for (i = 0; i < RESAMPLER_SAMPLES_PER_FRAME; i++) {