mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 23:46:00 +01:00
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…
Reference in a new issue