mNewContextDispatch = dispatch.addTarget("video.newcontext",
boost::bind(&Main::setupGL));
setupGL();
-
- addChild(TitleLayer::alloc());
}
{
if (children().size() == 0)
{
- Mf::logWarning("main view has no children");
- stop();
- return;
+ //Mf::logWarning("main view has no children");
+ //stop();
+ //return;
+ addChild(TitleLayer::alloc());
}
Mf::View::update(t, dt);
// 3. $HOME/.yoinkrc
// 4. YOINKRC (environment)
- std::string path = Mf::Resource::getPath("yoinkrc");
+ std::string path("yoinkrc");
+ Mf::Resource::getPath(path);
#if !defined(_WIN32)
path += ":/etc/yoinkrc";
<< " Compiler: "COMPILER_STRING << std::endl
<< " Assets: " << assets << std::endl
<< "Build options: "
+#ifndef HAVE_CLOCK_GETTIME
+ << "-"
+#endif
+ << "clock_gettime "
#ifdef NDEBUG
<< "-"
#endif