diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-15 19:51:19 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-15 19:51:19 +0000 |
commit | 1724d87c2271e18e9349abce5a3eebec5ec72f6d (patch) | |
tree | bbaf328ff952fb074e3c319979ef9f5339a57a98 /src/openglgraphics.cpp | |
parent | 555c7481ba83971f8ce95b1e80caeabf3dc26ff4 (diff) | |
download | mana-client-1724d87c2271e18e9349abce5a3eebec5ec72f6d.tar.gz mana-client-1724d87c2271e18e9349abce5a3eebec5ec72f6d.tar.bz2 mana-client-1724d87c2271e18e9349abce5a3eebec5ec72f6d.tar.xz mana-client-1724d87c2271e18e9349abce5a3eebec5ec72f6d.zip |
Some small cleanups.
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r-- | src/openglgraphics.cpp | 2 |
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); |