X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fimage.h;fp=source%2Fimage.h;h=026aaca82aebbcc4b326b706d4df052f98ea3d8d;hp=77357561ead0a54fc147681e580bd67fa80c989c;hb=9f38197854e699a6093a906ab43f4238f3cd2388;hpb=b4a3d651f57c46507aaa99a71a14fea15f0e430d diff --git a/source/image.h b/source/image.h index 7735756..026aaca 100644 --- a/source/image.h +++ b/source/image.h @@ -21,9 +21,9 @@ public: }; private: - const GL::Texture2D *image; + const GL::Texture2D *image = 0; std::string icon_name; - bool keep_aspect; + bool keep_aspect = true; public: Image(const GL::Texture2D * = 0);