summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-08 01:19:49 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-08 01:19:49 +0300
commit10d3b05b00e913ee2e396facdb8d2ed2177efb53 (patch)
tree13fba88aa929ff536ab3acb0d31d32a148ad2bf9 /src/graphics.cpp
parentf0f4b00290c3ae4b2b80bdef22d4ac56a863d35a (diff)
downloadmanaverse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.tar.gz
manaverse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.tar.bz2
manaverse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.tar.xz
manaverse-10d3b05b00e913ee2e396facdb8d2ed2177efb53.zip
Fix code style.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 0da8c1bd4..e79cbf56b 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -559,7 +559,7 @@ void Graphics::calcImagePattern(GraphicsVertexes* vert,
srcRect.w = static_cast<Uint16>(dw);
srcRect.h = static_cast<Uint16>(dh);
- if (SDL_FakeUpperBlit(image->mSDLSurface, &srcRect,
+ if (sdl_FakeUpperBlit(image->mSDLSurface, &srcRect,
mTarget, &dstRect) == 1)
{
vert->pushSDL(srcRect, dstRect);
@@ -588,7 +588,7 @@ void Graphics::calcTile(ImageVertexes *vert, int x, int y)
rect->src.y = static_cast<short>(image->mBounds.y);
rect->src.w = static_cast<Uint16>(image->mBounds.w);
rect->src.h = static_cast<Uint16>(image->mBounds.h);
- if (SDL_FakeUpperBlit(image->mSDLSurface, &rect->src,
+ if (sdl_FakeUpperBlit(image->mSDLSurface, &rect->src,
mTarget, &rect->dst) == 1)
{
vert->sdl.push_back(rect);
@@ -668,8 +668,8 @@ bool Graphics::calcWindow(GraphicsVertexes* vert,
imgRect.grid[4]);
}
-int Graphics::SDL_FakeUpperBlit (SDL_Surface *src, SDL_Rect *srcrect,
- SDL_Surface *dst, SDL_Rect *dstrect)
+int Graphics::SDL_FakeUpperBlit(SDL_Surface *src, SDL_Rect *srcrect,
+ SDL_Surface *dst, SDL_Rect *dstrect)
{
SDL_Rect fulldst;
int srcx, srcy, w, h;