X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fvideo%2Fsdl%2Fsdl_texture.cpp;fp=src%2Fvideo%2Fsdl%2Fsdl_texture.cpp;h=853bef2bfac7e782b2a7cb275ca9dd87af16b02c;hb=2b4d3758e0f8d3a8de962f85eea5a4ada723706d;hp=6093e3d41c4c170e7afc548cd85fca4c096c87bd;hpb=fb7ec3e0b1fefa5d88bd1a4c8b81a3b71a72c1fd;p=supertux.git diff --git a/src/video/sdl/sdl_texture.cpp b/src/video/sdl/sdl_texture.cpp index 6093e3d41..853bef2bf 100644 --- a/src/video/sdl/sdl_texture.cpp +++ b/src/video/sdl/sdl_texture.cpp @@ -29,7 +29,9 @@ #include SDLTexture::SDLTexture(SDL_Surface* image) : - texture() + texture(), + width(), + height() { texture = SDL_CreateTextureFromSurface(static_cast(Renderer::instance())->get_sdl_renderer(), image);