diff --git a/src/openglshader.cpp b/src/openglshader.cpp index 953db1d..61749c9 100644 --- a/src/openglshader.cpp +++ b/src/openglshader.cpp @@ -8,6 +8,11 @@ OpenGlShaderProgram::OpenGlShaderProgram(std::string vertex_file, std::string ge this->compiled = false; } +OpenGlShaderProgram::~OpenGlShaderProgram() +{ + this->unload(); +} + char *load_shader_program_from_file(std::string file_name) { return NULL;