diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-27 20:22:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-27 21:52:59 +0300 |
commit | 53ae7cee19c269a6ebf53e468825305d448ff006 (patch) | |
tree | fb43a66adaacc3bb2e42a8d346b5d267f2b807c8 /src/resources/surfaceimagehelper.cpp | |
parent | eb9841897bbe93da6aa4ca2537a3e22b3a868d98 (diff) | |
download | ManaVerse-53ae7cee19c269a6ebf53e468825305d448ff006.tar.gz ManaVerse-53ae7cee19c269a6ebf53e468825305d448ff006.tar.bz2 ManaVerse-53ae7cee19c269a6ebf53e468825305d448ff006.tar.xz ManaVerse-53ae7cee19c269a6ebf53e468825305d448ff006.zip |
fix code style.
Diffstat (limited to 'src/resources/surfaceimagehelper.cpp')
-rw-r--r-- | src/resources/surfaceimagehelper.cpp | 5 |
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; } |