mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
drose: i'm such a dope
This commit is contained in:
parent
6893156b4c
commit
dfa0f96e3c
@ -331,7 +331,8 @@ ns_garbage_collect() {
|
||||
|
||||
_textures.swap(new_set);
|
||||
|
||||
if (_normalization_cube_map->get_ref_count() == 1) {
|
||||
if (_normalization_cube_map != (Texture *)NULL &&
|
||||
_normalization_cube_map->get_ref_count() == 1) {
|
||||
if (gobj_cat.is_debug()) {
|
||||
gobj_cat.debug()
|
||||
<< "Releasing normalization cube map\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user