Commit b8573a72 by Philipp Adolf

Free vertexShader on destruction

parent 7e9bfcb3
...@@ -11,6 +11,7 @@ Subdivision::Subdivision(QOpenGLFunctions_4_3_Core *f) ...@@ -11,6 +11,7 @@ Subdivision::Subdivision(QOpenGLFunctions_4_3_Core *f)
Subdivision::~Subdivision() Subdivision::~Subdivision()
{ {
delete edgeShader; delete edgeShader;
delete vertexShader;
} }
QString Subdivision::formatTimeMeasurement(int time){ QString Subdivision::formatTimeMeasurement(int time){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment