]> Dogcows Code - chaz/yoink/blobdiff - src/Main.cc
new win32 deps script; using pkgconfig for openal
[chaz/yoink] / src / Main.cc
index fc84ceb38fcc3171743faec7eeca3a6c750f7f78..835f3d06bc099c6cc3595e6193ab462d9aa308e8 100644 (file)
@@ -40,8 +40,6 @@ Main::Main(Mf::Settings& settings, Mf::Video& video) :
        mNewContextDispatch = dispatch.addTarget("video.newcontext",
                                                                                         boost::bind(&Main::setupGL));
        setupGL();
-
-       addChild(TitleLayer::alloc());
 }
 
 
@@ -49,9 +47,10 @@ void Main::update(Mf::Scalar t, Mf::Scalar dt)
 {
        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);
@@ -227,6 +226,10 @@ void Main::printInfo(int argc, char* argv[])
                          << "     Compiler: "COMPILER_STRING << std::endl
                          << "       Assets: " << assets << std::endl
                          << "Build options: "
+#ifndef HAVE_CLOCK_GETTIME
+                         << "-"
+#endif
+                         << "clock_gettime "
 #ifdef NDEBUG
                          << "-"
 #endif
This page took 0.018393 seconds and 4 git commands to generate.