diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-05 21:48:30 +0300 |
commit | 6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed (patch) | |
tree | 79a54d4c838c85df29b1b95702b71a95c43ceb5a /src/guichan/sdl | |
parent | d1bb1b375d657f0821ccfebf18fa1c3873314690 (diff) | |
download | plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.gz plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.bz2 plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.tar.xz plus-6fee84f3838bdd900e8cfc4a1e4d7f15f35bd6ed.zip |
Improve constructors in some classes.
Diffstat (limited to 'src/guichan/sdl')
-rw-r--r-- | src/guichan/sdl/sdlgraphics.cpp | 1 | ||||
-rw-r--r-- | src/guichan/sdl/sdlimage.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
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) { |