Commit ba804abb by Maarten L. Hekkelman

auto init rsrc loader

parent 6835a980
......@@ -237,6 +237,9 @@ class rsrc_loader
static rsrc load(const std::string& name)
{
assert(s_instance);
if (not s_instance)
init();
return s_instance->do_load(name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment