Fix memory leaks and proper deinitialization

This commit is contained in:
jonasstrandstedt
2014-12-11 10:13:10 +01:00
parent 01361307f6
commit 7b2b81ed54
11 changed files with 38 additions and 12 deletions
@@ -87,7 +87,7 @@ public:
//Vertex* _varray;
std::vector<float> _varray;
int* _iarray;
std::vector<int> _iarray;
//bool _once = false;
double lightTime;
@@ -35,8 +35,9 @@
namespace openspace {
class RenderableStars : public Renderable {
public:
public:
RenderableStars(const ghoul::Dictionary& dictionary);
~RenderableStars();
bool initialize() override;
bool deinitialize() override;