diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-29 17:24:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-29 17:59:57 +0300 |
commit | f315432679f760b71505e74dcb2185b7aef7a906 (patch) | |
tree | 07d45620464a2542cb28fbe773f652501e6ee6fb /src/render/mobileopenglgraphics.cpp | |
parent | cccb3e11663eb415b9b6c9a184e1c17762a2d989 (diff) | |
download | manaplus-f315432679f760b71505e74dcb2185b7aef7a906.tar.gz manaplus-f315432679f760b71505e74dcb2185b7aef7a906.tar.bz2 manaplus-f315432679f760b71505e74dcb2185b7aef7a906.tar.xz manaplus-f315432679f760b71505e74dcb2185b7aef7a906.zip |
change smaller letter literalt into capital letter.
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r-- | src/render/mobileopenglgraphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index 18f036f48..b5e1cb883 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -52,7 +52,7 @@ MobileOpenGLGraphics::MobileOpenGLGraphics(): mTexture(false), mIsByteColor(false), mByteColor(), - mFloatColor(1.0f), + mFloatColor(1.0F), mMaxVertices(500), mColorAlpha(false), #ifdef DEBUG_BIND_TEXTURE @@ -276,7 +276,7 @@ bool MobileOpenGLGraphics::drawRescaledImage(const Image *const image, if (smooth) // A basic smooth effect... { - setColorAlpha(0.2f); + setColorAlpha(0.2F); drawRescaledQuad(image, srcX, srcY, dstX - 1, dstY - 1, width, height, desiredWidth + 1, desiredHeight + 1); drawRescaledQuad(image, srcX, srcY, dstX + 1, dstY + 1, width, height, @@ -873,7 +873,7 @@ void MobileOpenGLGraphics::_beginDraw() #endif #endif -// glScalef(0.5f, 0.5f, 0.5f); +// glScalef(0.5F, 0.5F, 0.5F); pushClipArea(gcn::Rectangle(0, 0, mRect.w, mRect.h)); } @@ -1242,7 +1242,7 @@ void MobileOpenGLGraphics::setColorAlpha(const float alpha) if (!mIsByteColor && mFloatColor == alpha) return; - glColor4f(1.0f, 1.0f, 1.0f, alpha); + glColor4f(1.0F, 1.0F, 1.0F, alpha); mIsByteColor = false; mFloatColor = alpha; } |