diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 18:52:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 18:52:07 +0300 |
commit | 5c8280e7cd91cb30a0717714f6a0672805f5dd08 (patch) | |
tree | 84a83b2fe616b8194d89172d821ac62bb69b0a25 /src/resources | |
parent | 860e9114723f279ee1f79ed04d308d7af5fbd887 (diff) | |
download | plus-5c8280e7cd91cb30a0717714f6a0672805f5dd08.tar.gz plus-5c8280e7cd91cb30a0717714f6a0672805f5dd08.tar.bz2 plus-5c8280e7cd91cb30a0717714f6a0672805f5dd08.tar.xz plus-5c8280e7cd91cb30a0717714f6a0672805f5dd08.zip |
fix code style.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/dye.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp index 68364dc52..67d32993f 100644 --- a/src/resources/dye.cpp +++ b/src/resources/dye.cpp @@ -197,7 +197,8 @@ void DyePalette::getColor(double intensity, int color[3]) const color[2] = static_cast<int>(rest * b1 + intensity * b2); } -void DyePalette::replaceSColor(uint32_t *restrict pixels, const int bufSize) const +void DyePalette::replaceSColor(uint32_t *restrict pixels, + const int bufSize) const { std::vector<DyeColor>::const_iterator it_end = mColors.end(); const int sz = mColors.size(); |