X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fimage.h;h=12e77f2a7f6df28f935bcf2c66dac9290913f33f;hb=81c4024fb6acf37df702a803dc4efdf82a81525a;hp=77357561ead0a54fc147681e580bd67fa80c989c;hpb=56c41b294aa47a38ac3e1be70d4868f260cb4274;p=libs%2Fgltk.git diff --git a/source/image.h b/source/image.h index 7735756..12e77f2 100644 --- a/source/image.h +++ b/source/image.h @@ -21,12 +21,12 @@ public: }; private: - const GL::Texture2D *image; + const GL::Texture2D *image = nullptr; std::string icon_name; - bool keep_aspect; + bool keep_aspect = true; public: - Image(const GL::Texture2D * = 0); + Image(const GL::Texture2D * = nullptr); virtual const char *get_class() const { return "image"; }