X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fgraphic.h;fp=source%2Fgraphic.h;h=b114d7e1c96eba41fd555453d71cb6d1b5dd4cc4;hp=4fed368938016e8613e4a6132155d932889d48a0;hb=9f38197854e699a6093a906ab43f4238f3cd2388;hpb=b4a3d651f57c46507aaa99a71a14fea15f0e430d diff --git a/source/graphic.h b/source/graphic.h index 4fed368..b114d7e 100644 --- a/source/graphic.h +++ b/source/graphic.h @@ -33,12 +33,11 @@ public: private: Sides border; Sides shadow; - const GL::Texture2D *texture; + const GL::Texture2D *texture = 0; Geometry slice; - bool repeat; + bool repeat = false; public: - Graphic(); const Sides &get_border() const { return border; } const Sides &get_shadow() const { return shadow; } const GL::Texture2D *get_texture() const { return texture; }