mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-20 05:54:54 -04:00
prevent crash at static init
This commit is contained in:
parent
331d060a8a
commit
ca70808c25
@ -796,7 +796,7 @@ load_filters() {
|
|||||||
string name = texture_filter.get_unique_value(i);
|
string name = texture_filter.get_unique_value(i);
|
||||||
|
|
||||||
Filename dlname = Filename::dso_filename("lib" + name + ".so");
|
Filename dlname = Filename::dso_filename("lib" + name + ".so");
|
||||||
gobj_cat.info()
|
gobj_cat->info()
|
||||||
<< "loading texture filter: " << dlname.to_os_specific() << endl;
|
<< "loading texture filter: " << dlname.to_os_specific() << endl;
|
||||||
void *tmp = load_dso(dlname);
|
void *tmp = load_dso(dlname);
|
||||||
if (tmp == (void *)NULL) {
|
if (tmp == (void *)NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user