summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-08 01:29:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-08 01:29:48 +0300
commiteebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770 (patch)
tree221529741899386d1a98a69d06d42d39fb5fe35a /src/graphics.cpp
parent10d3b05b00e913ee2e396facdb8d2ed2177efb53 (diff)
downloadManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.tar.gz
ManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.tar.bz2
ManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.tar.xz
ManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.zip
Fix compilation errors.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index e79cbf56b..61f98b2a7 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);