mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Fix Cg crash at shutdown when multithreaded pipeline is active
This commit is contained in:
parent
47fdb9b748
commit
6a263746cd
@ -2980,7 +2980,6 @@ close_gsg() {
|
|||||||
display_cat.debug()
|
display_cat.debug()
|
||||||
<< this << " close_gsg " << get_type() << "\n";
|
<< this << " close_gsg " << get_type() << "\n";
|
||||||
}
|
}
|
||||||
free_pointers();
|
|
||||||
|
|
||||||
// As tempting as it may be to try to release all the textures and
|
// As tempting as it may be to try to release all the textures and
|
||||||
// geoms now, we can't, because we might not be the currently-active
|
// geoms now, we can't, because we might not be the currently-active
|
||||||
@ -3005,6 +3004,8 @@ close_gsg() {
|
|||||||
#ifdef DO_PSTATS
|
#ifdef DO_PSTATS
|
||||||
_pending_timer_queries.clear();
|
_pending_timer_queries.clear();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
free_pointers();
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user