remove redundant check in CShader
This commit is contained in:
parent
a69fd21a1a
commit
95bbac8791
1 changed files with 1 additions and 3 deletions
|
|
@ -14,7 +14,5 @@ GLint CShader::getUniformLocation(const std::string& unif) {
|
||||||
|
|
||||||
CShader::~CShader() {
|
CShader::~CShader() {
|
||||||
// destroy shader
|
// destroy shader
|
||||||
if (program) {
|
glDeleteProgram(program);
|
||||||
glDeleteProgram(program);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue