diff --git a/src/display/nr-light.h b/src/display/nr-light.h
index 61c3c3909e1e37658474cafaa69fb042531142a8..6c73a0a683cf52a726b38894e811f133a4a426f7 100644 (file)
--- a/src/display/nr-light.h
+++ b/src/display/nr-light.h
* \param lighting_color the lighting_color used
*/
DistantLight(SPFeDistantLight *light, guint32 lighting_color);
- ~DistantLight();
+ virtual ~DistantLight();
/**
* Computes the light vector of the distant light
* employed in the rendering)
*/
PointLight(SPFePointLight *light, guint32 lighting_color, const Matrix &trans);
- ~PointLight();
+ virtual ~PointLight();
/**
* Computes the light vector of the distant light at point (x,y,z).
* x, y and z are given in the arena_item coordinate, they are used as
* employed in the rendering)
*/
SpotLight(SPFeSpotLight *light, guint32 lighting_color, const Matrix &trans);
- ~SpotLight();
+ virtual ~SpotLight();
/**
* Computes the light vector of the distant light at point (x,y,z).