oops, clear old _self_compose value
This commit is contained in:
parent
28dcfa514a
commit
9a898fe061
|
|
@ -692,6 +692,7 @@ clear_cache() {
|
|||
if (state->_self_compose != (RenderState *)NULL &&
|
||||
state->_self_compose != state) {
|
||||
unref_delete((RenderState *)state->_self_compose);
|
||||
state->_self_compose = (RenderState *)NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -723,6 +723,7 @@ clear_cache() {
|
|||
if (state->_self_compose != (TransformState *)NULL &&
|
||||
state->_self_compose != state) {
|
||||
unref_delete((TransformState *)state->_self_compose);
|
||||
state->_self_compose = (TransformState *)NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue