Merge pull request #738 from Nazg-Gul/dev

Fix GLSL program being deleted twice in GLSL Compute controller
This commit is contained in:
Takahito Tejima 2015-09-10 09:57:34 -07:00
commit 6b3b7801a1

View File

@ -114,12 +114,6 @@ GLComputeEvaluator::GLComputeEvaluator() : _workGroupSize(64) {
} }
GLComputeEvaluator::~GLComputeEvaluator() { GLComputeEvaluator::~GLComputeEvaluator() {
if (_stencilKernel.program) {
glDeleteProgram(_stencilKernel.program);
}
if (_patchKernel.program) {
glDeleteProgram(_patchKernel.program);
}
} }
static GLuint static GLuint