summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 11:27:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 12:34:23 +0300
commita7d7346b9eb3fa62a8912e31d5c00f8e05390425 (patch)
treeba2d006e8aaac74138eb13ba458d30abf8f01182 /src/resources/openglimagehelper.cpp
parent9569f124d176b4220f28f9a41812c33883737228 (diff)
downloadplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.gz
plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.bz2
plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.xz
plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.zip
some more style fixes from cpplint.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r--src/resources/openglimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 073835626..9843d5026 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -112,7 +112,7 @@ Image *OpenGLImageHelper::load(SDL_RWops *const rw, Dye const &dye)
int v[3];
v[0] = (p) & 255;
v[1] = (p >> 8) & 255;
- v[2] = (p >> 16 ) & 255;
+ v[2] = (p >> 16) & 255;
dye.update(v);
*pixels = (v[0]) | (v[1] << 8) | (v[2] << 16) | (alpha << 24);
}