summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-26 21:08:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-26 21:08:45 +0300
commita8acf366d3e943fb636e24b69c8c67152770d2cc (patch)
tree99d51b8b56489fd03f32cd291e8570834954ac90 /src/render/sdl2softwaregraphics.cpp
parente2b84bddbb089f43a9c2c3741545378614481a32 (diff)
downloadplus-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.gz
plus-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.bz2
plus-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.xz
plus-a8acf366d3e943fb636e24b69c8c67152770d2cc.zip
Fix code style.
Diffstat (limited to 'src/render/sdl2softwaregraphics.cpp')
-rw-r--r--src/render/sdl2softwaregraphics.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index 5e7434e80..0670b6f23 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -298,8 +298,10 @@ void SDL2SoftwareGraphics::drawImageCached(const Image *restrict const image,
}
void SDL2SoftwareGraphics::drawPatternCached(const Image *restrict const image,
- const int x, const int y,
- const int w, const int h) restrict2
+ const int x,
+ const int y,
+ const int w,
+ const int h) restrict2
{
FUNC_BLOCK("Graphics::drawPatternCached", 1)
// Check that preconditions for blitting are met.
@@ -419,8 +421,10 @@ void SDL2SoftwareGraphics::drawPattern(const Image *restrict const image,
}
void SDL2SoftwareGraphics::drawPatternInline(const Image *restrict const image,
- const int x, const int y,
- const int w, const int h) restrict2
+ const int x,
+ const int y,
+ const int w,
+ const int h) restrict2
{
FUNC_BLOCK("Graphics::drawPattern", 1)
// Check that preconditions for blitting are met.