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/safeopenglgraphics.cpp | |
parent | cccb3e11663eb415b9b6c9a184e1c17762a2d989 (diff) | |
download | mv-f315432679f760b71505e74dcb2185b7aef7a906.tar.gz mv-f315432679f760b71505e74dcb2185b7aef7a906.tar.bz2 mv-f315432679f760b71505e74dcb2185b7aef7a906.tar.xz mv-f315432679f760b71505e74dcb2185b7aef7a906.zip |
change smaller letter literalt into capital letter.
Diffstat (limited to 'src/render/safeopenglgraphics.cpp')
-rw-r--r-- | src/render/safeopenglgraphics.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp index 7f0e375b6..cd3338188 100644 --- a/src/render/safeopenglgraphics.cpp +++ b/src/render/safeopenglgraphics.cpp @@ -41,7 +41,7 @@ SafeOpenGLGraphics::SafeOpenGLGraphics(): mTexture(false), mIsByteColor(false), mByteColor(), - mFloatColor(1.0f), + mFloatColor(1.0F), mColorAlpha(false), mFbo() { @@ -220,7 +220,7 @@ bool SafeOpenGLGraphics::drawRescaledImage(const Image *const image, int srcX, 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, @@ -531,12 +531,12 @@ void SafeOpenGLGraphics::drawLine(int x1, int y1, int x2, int y2) restoreColor(); glBegin(GL_LINES); - glVertex2f(static_cast<float>(x1) + 0.5f, static_cast<float>(y1) + 0.5f); - glVertex2f(static_cast<float>(x2) + 0.5f, static_cast<float>(y2) + 0.5f); + glVertex2f(static_cast<float>(x1) + 0.5F, static_cast<float>(y1) + 0.5F); + glVertex2f(static_cast<float>(x2) + 0.5F, static_cast<float>(y2) + 0.5F); glEnd(); glBegin(GL_POINTS); - glVertex2f(static_cast<float>(x2) + 0.5f, static_cast<float>(y2) + 0.5f); + glVertex2f(static_cast<float>(x2) + 0.5F, static_cast<float>(y2) + 0.5F); glEnd(); } @@ -597,7 +597,7 @@ void SafeOpenGLGraphics::drawRectangle(const gcn::Rectangle& rect, const bool filled) { BLOCK_START("Graphics::drawRectangle") - const float offset = filled ? 0 : 0.5f; + const float offset = filled ? 0 : 0.5F; setTexturingAndBlending(false); restoreColor(); @@ -629,7 +629,7 @@ void SafeOpenGLGraphics::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; } |