projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More -Weffc++ cleanup, almost done
[supertux.git]
/
src
/
video
/
sdl
/
sdl_texture.cpp
diff --git
a/src/video/sdl/sdl_texture.cpp
b/src/video/sdl/sdl_texture.cpp
index
0651c12
..
412c776
100644
(file)
--- a/
src/video/sdl/sdl_texture.cpp
+++ b/
src/video/sdl/sdl_texture.cpp
@@
-600,7
+600,8
@@
SDL_Surface *optimize(SDL_Surface *src)
}
}
-SDLTexture::SDLTexture(SDL_Surface* image)
+SDLTexture::SDLTexture(SDL_Surface* image) :
+ texture()
{
texture = optimize(image);
//width = texture->w;