diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-14 22:17:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-14 22:47:37 +0300 |
commit | 9aefc65b5f9802568c814f9768577e045b513f29 (patch) | |
tree | 811241910c8cd699cf6632a4df981b8fc85446b8 | |
parent | b15ab01a35ce3682e26aafb5fb1ac0fb98045241 (diff) | |
download | mv-9aefc65b5f9802568c814f9768577e045b513f29.tar.gz mv-9aefc65b5f9802568c814f9768577e045b513f29.tar.bz2 mv-9aefc65b5f9802568c814f9768577e045b513f29.tar.xz mv-9aefc65b5f9802568c814f9768577e045b513f29.zip |
Fix compilation error with clang.
-rw-r--r-- | src/resources/imagehelper.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h index c31feb322..7ba5cbc98 100644 --- a/src/resources/imagehelper.h +++ b/src/resources/imagehelper.h @@ -65,17 +65,21 @@ class ImageHelper * @return <code>NULL</code> if an error occurred, a valid pointer * otherwise. */ - virtual Resource *load(SDL_RWops *rw, Dye const &dye) = 0; + virtual Resource *load(SDL_RWops *rw, Dye const &dye) + { } /** * Loads an image from an SDL surface. */ - virtual Image *load(SDL_Surface *) = 0; + virtual Image *load(SDL_Surface *) + { } virtual Image *createTextSurface(SDL_Surface *tmpImage, - float alpha) = 0; + float alpha) + { } - virtual int useOpenGL() = 0; + virtual int useOpenGL() + { } SDL_Surface *convertTo32Bit(SDL_Surface* tmpImage); |