Browse Source

fix crash on android

rdb 13 years ago
parent
commit
29871ed63a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/pgraph/config_pgraph.cxx

+ 2 - 0
panda/src/pgraph/config_pgraph.cxx

@@ -568,6 +568,8 @@ init_libpgraph() {
   RenderState::init_states();
   RenderEffects::init_states();
 
+  RenderAttrib::init_attribs();
+
   LoaderFileTypeRegistry *reg = LoaderFileTypeRegistry::get_global_ptr();
   reg->register_type(new LoaderFileTypeBam);
 }