summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
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/resources')
-rw-r--r--src/resources/image.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index ac23a7c13..b217db683 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -46,7 +46,7 @@ Image::Image(SDL_Texture *const image, const int width, const int height) :
mTexHeight(0),
#endif
mBounds(),
- mAlpha(1.0f),
+ mAlpha(1.0F),
mSDLSurface(nullptr),
mTexture(image),
mAlphaChannel(nullptr),
@@ -90,7 +90,7 @@ Image::Image(SDL_Surface *const image, const bool hasAlphaChannel0,
mTexHeight(0),
#endif
mBounds(),
- mAlpha(1.0f),
+ mAlpha(1.0F),
mSDLSurface(image),
#ifdef USE_SDL2
mTexture(nullptr),
@@ -134,7 +134,7 @@ Image::Image(const GLuint glimage, const int width, const int height,
mTexWidth(texWidth),
mTexHeight(texHeight),
mBounds(),
- mAlpha(1.0f),
+ mAlpha(1.0F),
mSDLSurface(nullptr),
#ifdef USE_SDL2
mTexture(nullptr),
@@ -254,7 +254,7 @@ void Image::setAlpha(const float alpha)
if (mAlpha == alpha || !ImageHelper::mEnableAlpha)
return;
- if (alpha < 0.0f || alpha > 1.0f)
+ if (alpha < 0.0F || alpha > 1.0F)
return;
if (mSDLSurface)