summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guichan/gui.cpp2
-rw-r--r--src/normalopenglgraphics.cpp4
2 files changed, 3 insertions, 3 deletions
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);