diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-24 21:33:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-24 23:28:10 +0300 |
commit | 64810ef5b4b3d375e7af0f4fc9ee69e235afa568 (patch) | |
tree | 6810d0f27a0e38c99370c3c9e8d08443ffe8d76f /src/resources | |
parent | 9d2eb460fa3569342044b6f3e61d52d86ca8cbb6 (diff) | |
download | manaverse-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.tar.gz manaverse-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.tar.bz2 manaverse-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.tar.xz manaverse-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.zip |
Fix code style.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/dye.cpp | 4 | ||||
-rw-r--r-- | src/resources/dyepalette.cpp | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp index b99c967d8..34a1937a5 100644 --- a/src/resources/dye.cpp +++ b/src/resources/dye.cpp @@ -202,7 +202,7 @@ void Dye::normalDye(uint32_t *restrict pixels, const int bufSize) const | (color[2] << 8) | alpha; #endif } -endlabel:; +endlabel:{} } #else // ENABLE_CILKPLUS @@ -317,7 +317,7 @@ void Dye::normalOGLDye(uint32_t *restrict pixels, const int bufSize) const | (color[2] << 16) | alpha; #endif } -endlabel:; +endlabel:{} } #else // ENABLE_CILKPLUS diff --git a/src/resources/dyepalette.cpp b/src/resources/dyepalette.cpp index 9bc5aef7c..44049997a 100644 --- a/src/resources/dyepalette.cpp +++ b/src/resources/dyepalette.cpp @@ -223,7 +223,6 @@ void DyePalette::replaceSColor(uint32_t *restrict pixels, if (!alpha) { // logger->log("skip: %08x", *pixels); - //continue; } else { |