summaryrefslogtreecommitdiff
path: root/src/openglgraphics.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-15 19:51:19 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-15 19:51:19 +0000
commit1724d87c2271e18e9349abce5a3eebec5ec72f6d (patch)
treebbaf328ff952fb074e3c319979ef9f5339a57a98 /src/openglgraphics.cpp
parent555c7481ba83971f8ce95b1e80caeabf3dc26ff4 (diff)
downloadmana-1724d87c2271e18e9349abce5a3eebec5ec72f6d.tar.gz
mana-1724d87c2271e18e9349abce5a3eebec5ec72f6d.tar.bz2
mana-1724d87c2271e18e9349abce5a3eebec5ec72f6d.tar.xz
mana-1724d87c2271e18e9349abce5a3eebec5ec72f6d.zip
Some small cleanups.
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r--src/openglgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp
index 983c948e..efe875bc 100644
--- a/src/openglgraphics.cpp
+++ b/src/openglgraphics.cpp
@@ -94,7 +94,7 @@ bool OpenGLGraphics::drawImage(Image *image, int srcX, int srcY,
float texX2 = (srcX + width) / (float)image->mTexWidth;
float texY2 = (srcY + height) / (float)image->mTexHeight;
- glColor4f(1.0f, 1.0f, 1.0f, image->alpha);
+ glColor4f(1.0f, 1.0f, 1.0f, image->mAlpha);
glBindTexture(GL_TEXTURE_2D, image->mGLImage);
drawTexedQuad(dstX, dstY, width, height, texX1, texY1, texX2, texY2);