From 73c123dc691cd64a5a00d50caba622cb70647b53 Mon Sep 17 00:00:00 2001 From: Jonas Strandstedt Date: Tue, 16 Dec 2014 11:37:46 +0100 Subject: [PATCH] Updated to latest Ghoul. --- ext/ghoul | 2 +- src/util/powerscaledsphere.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/ghoul b/ext/ghoul index aff42bcc4f..cf0879e60f 160000 --- a/ext/ghoul +++ b/ext/ghoul @@ -1 +1 @@ -Subproject commit aff42bcc4fd3a7cd4c1c712c2d7e9fd0f67ccb3d +Subproject commit cf0879e60fc88ecbc1ae7bf2f0df9e8393b9e708 diff --git a/src/util/powerscaledsphere.cpp b/src/util/powerscaledsphere.cpp index 5d68f8fe1d..e6b938cca7 100644 --- a/src/util/powerscaledsphere.cpp +++ b/src/util/powerscaledsphere.cpp @@ -130,6 +130,8 @@ PowerScaledSphere::~PowerScaledSphere() delete[] _varray; if (_iarray) delete[] _iarray; + + _vbo.deinitialize(); } bool PowerScaledSphere::initialize()