Unload opengl shader program on object disposal
This commit is contained in:
parent
ec17d18154
commit
d15fb54804
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user