mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-26 05:20:05 +00:00
Merge pull request #738 from Nazg-Gul/dev
Fix GLSL program being deleted twice in GLSL Compute controller
This commit is contained in:
commit
6b3b7801a1
@ -114,12 +114,6 @@ GLComputeEvaluator::GLComputeEvaluator() : _workGroupSize(64) {
|
||||
}
|
||||
|
||||
GLComputeEvaluator::~GLComputeEvaluator() {
|
||||
if (_stencilKernel.program) {
|
||||
glDeleteProgram(_stencilKernel.program);
|
||||
}
|
||||
if (_patchKernel.program) {
|
||||
glDeleteProgram(_patchKernel.program);
|
||||
}
|
||||
}
|
||||
|
||||
static GLuint
|
||||
|
Loading…
Reference in New Issue
Block a user