summaryrefslogtreecommitdiff
path: root/src/resources/surfaceimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-27 20:22:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-27 21:52:59 +0300
commit53ae7cee19c269a6ebf53e468825305d448ff006 (patch)
treefb43a66adaacc3bb2e42a8d346b5d267f2b807c8 /src/resources/surfaceimagehelper.cpp
parenteb9841897bbe93da6aa4ca2537a3e22b3a868d98 (diff)
downloadplus-53ae7cee19c269a6ebf53e468825305d448ff006.tar.gz
plus-53ae7cee19c269a6ebf53e468825305d448ff006.tar.bz2
plus-53ae7cee19c269a6ebf53e468825305d448ff006.tar.xz
plus-53ae7cee19c269a6ebf53e468825305d448ff006.zip
fix code style.
Diffstat (limited to 'src/resources/surfaceimagehelper.cpp')
-rw-r--r--src/resources/surfaceimagehelper.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/surfaceimagehelper.cpp b/src/resources/surfaceimagehelper.cpp
index 75e311a36..44cee32d9 100644
--- a/src/resources/surfaceimagehelper.cpp
+++ b/src/resources/surfaceimagehelper.cpp
@@ -149,7 +149,8 @@ int SurfaceImageHelper::useOpenGL() const
return 0;
}
-SDL_Surface *SurfaceImageHelper::create32BitSurface(int width, int height) const
+SDL_Surface *SurfaceImageHelper::create32BitSurface(int width,
+ int height) const
{
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
const int rmask = 0xff000000;
@@ -172,7 +173,7 @@ int SurfaceImageHelper::combineSurface(SDL_Surface *const src,
SDL_Surface *const dst,
SDL_Rect *const dstrect)
{
- SDL_SetSurfaceBlendMode (src, SDL_BLENDMODE_BLEND);
+ SDL_SetSurfaceBlendMode(src, SDL_BLENDMODE_BLEND);
SDL_BlitSurface(src, srcrect, dst, dstrect);
return 1;
}