diff options
-rw-r--r-- | src/resources/dye/dyepalette_replacesoglcolor.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/dye/dyepalette_replacesoglcolor.cpp b/src/resources/dye/dyepalette_replacesoglcolor.cpp index 005523b4b..da7cd0519 100644 --- a/src/resources/dye/dyepalette_replacesoglcolor.cpp +++ b/src/resources/dye/dyepalette_replacesoglcolor.cpp @@ -303,8 +303,10 @@ void DyePalette::replaceSOGLColorAvx2(uint32_t *restrict pixels, base = _mm256_or_si256(srcAnd, dstAnd); ++ it; } -// _mm256_store_si256(reinterpret_cast<__m256i*>(&pixels[ptr]), base); - _mm256_storeu_si256(reinterpret_cast<__m256i*>(&pixels[ptr]), base); +// _mm256_store_si256(reinterpret_cast<__m256i*>(&pixels[ptr]), +// base); + _mm256_storeu_si256(reinterpret_cast<__m256i*>(&pixels[ptr]), + base); } } else |