mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
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…
x
Reference in New Issue
Block a user