summaryrefslogtreecommitdiff
path: root/src
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
parent10d3b05b00e913ee2e396facdb8d2ed2177efb53 (diff)
downloadManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.tar.gz
ManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.tar.bz2
ManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.tar.xz
ManaVerse-eebadc5b3970ae11a1e51a5d1ceb8ec1b9fd0770.zip
Fix compilation errors.
Diffstat (limited to 'src')
-rw-r--r--src/graphics.cpp4
-rw-r--r--src/resources/image.h2
2 files changed, 3 insertions, 3 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);
diff --git a/src/resources/image.h b/src/resources/image.h
index eb211341c..9ac2b163e 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -162,7 +162,7 @@ class Image : public Resource
*
* @return A new Image* object.
*/
- Image* SDLGetScaledImage(int width, int height);
+ Image* SDLgetScaledImage(int width, int height);
/**
* Merges two image SDL_Surfaces together. This is for SDL use only, as