mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-26 13:30:07 +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() {
|
GLComputeEvaluator::~GLComputeEvaluator() {
|
||||||
if (_stencilKernel.program) {
|
|
||||||
glDeleteProgram(_stencilKernel.program);
|
|
||||||
}
|
|
||||||
if (_patchKernel.program) {
|
|
||||||
glDeleteProgram(_patchKernel.program);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GLuint
|
static GLuint
|
||||||
|
Loading…
Reference in New Issue
Block a user