summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-25 13:14:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-25 13:14:39 +0300
commitc1c6cb457479e17d07bc6d9baa618ef85d60f2bc (patch)
tree253ebcf1e0d4178431cb4c09f82e9276e47aef8a /src/resources/openglimagehelper.cpp
parentaa488ea3fa37c132b7b0bd4a91f2014d25756a06 (diff)
downloadplus-c1c6cb457479e17d07bc6d9baa618ef85d60f2bc.tar.gz
plus-c1c6cb457479e17d07bc6d9baa618ef85d60f2bc.tar.bz2
plus-c1c6cb457479e17d07bc6d9baa618ef85d60f2bc.tar.xz
plus-c1c6cb457479e17d07bc6d9baa618ef85d60f2bc.zip
Improve a bit dye code formatting.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r--src/resources/openglimagehelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index a107b0099..79cd12512 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -75,7 +75,7 @@ Image *OpenGLImageHelper::load(SDL_RWops *const rw, Dye const &dye) const
if (pal)
{
for (uint32_t *p_end = pixels + surf->w * surf->h;
- pixels != p_end; ++pixels)
+ pixels != p_end; ++pixels)
{
uint8_t *p = reinterpret_cast<uint8_t *>(pixels);
const int alpha = *p & 255;
@@ -92,7 +92,7 @@ Image *OpenGLImageHelper::load(SDL_RWops *const rw, Dye const &dye) const
if (pal)
{
for (uint32_t *p_end = pixels + surf->w * surf->h;
- pixels != p_end; ++pixels)
+ pixels != p_end; ++pixels)
{
pal->replaceAOGLColor(reinterpret_cast<uint8_t *>(pixels));
}