projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made WARNING build option usable again
[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
6093e3d
..
853bef2
100644
(file)
--- a/
src/video/sdl/sdl_texture.cpp
+++ b/
src/video/sdl/sdl_texture.cpp
@@
-29,7
+29,9
@@
#include <SDL.h>
SDLTexture::SDLTexture(SDL_Surface* image) :
- texture()
+ texture(),
+ width(),
+ height()
{
texture = SDL_CreateTextureFromSurface(static_cast<SDLRenderer*>(Renderer::instance())->get_sdl_renderer(),
image);