From 9aefc65b5f9802568c814f9768577e045b513f29 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Jun 2012 22:17:51 +0300 Subject: Fix compilation error with clang. --- src/resources/imagehelper.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src') 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 NULL 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); -- cgit v1.2.3-70-g09d2