X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Flight.h;h=c0f929cf24377cd4771793ba0fcee889b4736012;hp=606ec67325812d535d305c5756ca82bcfb439528;hb=3bc34893905a2df622894aadcb6669f27f186772;hpb=3867df2040d1fb955158ca3bd8fbf5271ad66fb2 diff --git a/source/materials/light.h b/source/materials/light.h index 606ec673..c0f929cf 100644 --- a/source/materials/light.h +++ b/source/materials/light.h @@ -51,8 +51,9 @@ protected: Color color; unsigned generation; -public: Light(); +public: + virtual ~Light() { } /** Sets the color of the Light. */ void set_color(const Color &);