delete call back

This commit is contained in:
yangxiao 2014-07-04 17:22:39 +08:00
parent e2a49ca9c4
commit 4304d740b4
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ UniformValue::UniformValue(Uniform *uniform, GLProgram* glprogram)
UniformValue::~UniformValue()
{
// if (_useCallback)
// delete _value.callback;
if (_useCallback)
delete _value.callback;
}
void UniformValue::apply()