summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 23:24:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 23:24:46 +0300
commit0b74bf563c6816051e6b0758532638df994df50e (patch)
treead6101fcf4be9076aac50ea3788de18c8cd44c7c
parented3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0 (diff)
downloadmanaverse-0b74bf563c6816051e6b0758532638df994df50e.tar.gz
manaverse-0b74bf563c6816051e6b0758532638df994df50e.tar.bz2
manaverse-0b74bf563c6816051e6b0758532638df994df50e.tar.xz
manaverse-0b74bf563c6816051e6b0758532638df994df50e.zip
Fix too long lines in dyepalette_replacesoglcolor.cpp
-rw-r--r--src/resources/dye/dyepalette_replacesoglcolor.cpp6
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