From 54b82fbfa89accf8e73d116e5d8fa9e348a4cab7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Aug 2012 02:19:37 +0300 Subject: Fix code style. --- src/guichan/gui.cpp | 2 +- src/normalopenglgraphics.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/guichan/gui.cpp b/src/guichan/gui.cpp index fda5cc1e7..41ff39797 100644 --- a/src/guichan/gui.cpp +++ b/src/guichan/gui.cpp @@ -191,7 +191,7 @@ namespace gcn throw GCN_EXCEPTION("Unknown mouse input type."); break; } - } + } } void Gui::handleKeyInput() 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); -- cgit v1.2.3-70-g09d2