drose: i'm such a dope

This commit is contained in:
Asad M. Zaman 2005-08-03 22:55:17 +00:00
parent 6893156b4c
commit dfa0f96e3c

View File

@ -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";