summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-14 22:17:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-14 22:47:37 +0300
commit9aefc65b5f9802568c814f9768577e045b513f29 (patch)
tree811241910c8cd699cf6632a4df981b8fc85446b8 /src/resources/imagehelper.h
parentb15ab01a35ce3682e26aafb5fb1ac0fb98045241 (diff)
downloadplus-9aefc65b5f9802568c814f9768577e045b513f29.tar.gz
plus-9aefc65b5f9802568c814f9768577e045b513f29.tar.bz2
plus-9aefc65b5f9802568c814f9768577e045b513f29.tar.xz
plus-9aefc65b5f9802568c814f9768577e045b513f29.zip
Fix compilation error with clang.
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r--src/resources/imagehelper.h12
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);