summaryrefslogtreecommitdiff
path: root/src/normalopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-30 02:19:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-30 02:19:37 +0300
commit54b82fbfa89accf8e73d116e5d8fa9e348a4cab7 (patch)
tree765692f1f7785fb4d2d21d4d966487f2235a193f /src/normalopenglgraphics.cpp
parent46f0755975033f37eaae9db73c0e2b6499c2a923 (diff)
downloadmv-54b82fbfa89accf8e73d116e5d8fa9e348a4cab7.tar.gz
mv-54b82fbfa89accf8e73d116e5d8fa9e348a4cab7.tar.bz2
mv-54b82fbfa89accf8e73d116e5d8fa9e348a4cab7.tar.xz
mv-54b82fbfa89accf8e73d116e5d8fa9e348a4cab7.zip
Fix code style.
Diffstat (limited to 'src/normalopenglgraphics.cpp')
-rw-r--r--src/normalopenglgraphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normalopenglgraphics.cpp b/src/normalopenglgraphics.cpp
index 5e0fc8a5c..b8b3eb89d 100644
--- a/src/normalopenglgraphics.cpp
+++ b/src/normalopenglgraphics.cpp
@@ -220,8 +220,8 @@ bool NormalOpenGLGraphics::drawImage2(const Image *const image,
srcY += image->mBounds.y;
if (!useColor)
- glColor4ub(255, 255, 255, image->mAlpha * 255);
-// glColor4f(1.0f, 1.0f, 1.0f, image->mAlpha);
+ glColor4f(1.0f, 1.0f, 1.0f, image->mAlpha);
+// glColor4ub(255, 255, 255, image->mAlpha * 255);
#ifdef DEBUG_BIND_TEXTURE
debugBindTexture(image);