remove redundant check in CShader

This commit is contained in:
vaxerski 2022-11-01 18:46:51 +00:00
parent a69fd21a1a
commit 95bbac8791

View file

@ -14,7 +14,5 @@ GLint CShader::getUniformLocation(const std::string& unif) {
CShader::~CShader() {
// destroy shader
if (program) {
glDeleteProgram(program);
}
}