diff options
-rw-r--r-- | src/gl/sphere.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gl/sphere.cc b/src/gl/sphere.cc index bd724f5..1c21ee5 100644 --- a/src/gl/sphere.cc +++ b/src/gl/sphere.cc @@ -29,8 +29,8 @@ Sphere::Sphere(Vector3f p , float r) Sphere::~Sphere() { - delete sintable; - delete costable; + delete[] sintable; + delete[] costable; } Sphere::Sphere(const Sphere &other) |