sensorgraph: add missing glDeleteShader calls

This commit is contained in:
Johan Euphrosine
2015-08-31 15:08:10 -07:00
parent 3dec732fa4
commit 7f91010049

View File

@@ -144,6 +144,8 @@ class sensorgraph {
GLint programLinked = 0;
glGetProgramiv(program, GL_LINK_STATUS, &programLinked);
assert(programLinked != 0);
glDeleteShader(vertexShader);
glDeleteShader(pixelShader);
return program;
}