From 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Sep 2012 21:48:30 +0300 Subject: Improve constructors in some classes. --- src/guichan/sdl/sdlgraphics.cpp | 1 + src/guichan/sdl/sdlimage.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/guichan/sdl') diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp index e6da83535..2e188991b 100644 --- a/src/guichan/sdl/sdlgraphics.cpp +++ b/src/guichan/sdl/sdlgraphics.cpp @@ -66,6 +66,7 @@ namespace gcn { SDLGraphics::SDLGraphics() : + Graphics(), mTarget(nullptr), mAlpha(false) { diff --git a/src/guichan/sdl/sdlimage.cpp b/src/guichan/sdl/sdlimage.cpp index 3c0325280..30d8f744d 100644 --- a/src/guichan/sdl/sdlimage.cpp +++ b/src/guichan/sdl/sdlimage.cpp @@ -56,6 +56,7 @@ namespace gcn { SDLImage::SDLImage(SDL_Surface *const surface, const bool autoFree) : + Image(), mSurface(surface), mAutoFree(autoFree) { -- cgit v1.2.3-70-g09d2