From 29871ed63ab5ef97d3226e73ee5ac63f0bcf572a Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 13 Jan 2013 14:49:30 +0000 Subject: [PATCH] fix crash on android --- panda/src/pgraph/config_pgraph.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/pgraph/config_pgraph.cxx b/panda/src/pgraph/config_pgraph.cxx index 55f51b7015..2f42f16f4d 100644 --- a/panda/src/pgraph/config_pgraph.cxx +++ b/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); }