X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphic.h;h=32a06864f9dcebf260c9f52e154b141e95660ba1;hb=81c4024fb6acf37df702a803dc4efdf82a81525a;hp=4fed368938016e8613e4a6132155d932889d48a0;hpb=56c41b294aa47a38ac3e1be70d4868f260cb4274;p=libs%2Fgltk.git diff --git a/source/graphic.h b/source/graphic.h index 4fed368..32a0686 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 = nullptr; 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; }