summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-29 17:24:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-29 17:59:57 +0300
commitf315432679f760b71505e74dcb2185b7aef7a906 (patch)
tree07d45620464a2542cb28fbe773f652501e6ee6fb /src/render/nullopenglgraphics.cpp
parentcccb3e11663eb415b9b6c9a184e1c17762a2d989 (diff)
downloadmanaplus-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/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index f7909b7bf..ed3dcd02f 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -46,7 +46,7 @@ NullOpenGLGraphics::NullOpenGLGraphics():
mTexture(false),
mIsByteColor(false),
mByteColor(),
- mFloatColor(1.0f),
+ mFloatColor(1.0F),
mMaxVertices(500),
mColorAlpha(false),
#ifdef DEBUG_BIND_TEXTURE
@@ -226,7 +226,7 @@ bool NullOpenGLGraphics::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,
@@ -986,10 +986,10 @@ void NullOpenGLGraphics::drawLine(int x1, int y1,
setTexturingAndBlending(false);
restoreColor();
- mFloatTexArray[0] = static_cast<float>(x1) + 0.5f;
- mFloatTexArray[1] = static_cast<float>(y1) + 0.5f;
- mFloatTexArray[2] = static_cast<float>(x2) + 0.5f;
- mFloatTexArray[3] = static_cast<float>(y2) + 0.5f;
+ mFloatTexArray[0] = static_cast<float>(x1) + 0.5F;
+ mFloatTexArray[1] = static_cast<float>(y1) + 0.5F;
+ mFloatTexArray[2] = static_cast<float>(x2) + 0.5F;
+ mFloatTexArray[3] = static_cast<float>(y2) + 0.5F;
drawLineArrayf(4);
}