Browse Source

prevent crash at static init

David Rose 19 years ago
parent
commit
ca70808c25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/gobj/texturePool.cxx

+ 1 - 1
panda/src/gobj/texturePool.cxx

@@ -796,7 +796,7 @@ load_filters() {
     string name = texture_filter.get_unique_value(i);
     
     Filename dlname = Filename::dso_filename("lib" + name + ".so");
-    gobj_cat.info()
+    gobj_cat->info()
       << "loading texture filter: " << dlname.to_os_specific() << endl;
     void *tmp = load_dso(dlname);
     if (tmp == (void *)NULL) {