diff options
Diffstat (limited to 'src/guichan/sdl')
-rw-r--r-- | src/guichan/sdl/sdlimage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guichan/sdl/sdlimage.cpp b/src/guichan/sdl/sdlimage.cpp index cf8505c4e..f00db27f9 100644 --- a/src/guichan/sdl/sdlimage.cpp +++ b/src/guichan/sdl/sdlimage.cpp @@ -55,10 +55,10 @@ namespace gcn { - SDLImage::SDLImage(SDL_Surface* surface, bool autoFree) + SDLImage::SDLImage(SDL_Surface* surface, bool autoFree) : + mSurface(surface), + mAutoFree(autoFree) { - mAutoFree = autoFree; - mSurface = surface; } SDLImage::~SDLImage() |