]> Dogcows Code - chaz/yoink/blobdiff - src/YoinkApp.cc
main loop code fixed to decouple updates and draws
[chaz/yoink] / src / YoinkApp.cc
index 4b024b47ec74f1e617d87b96689e7a645fbdd4c6..f0a1ad988864fa2388dac6cac0a56c7ebf9c9035 100644 (file)
@@ -76,6 +76,13 @@ YoinkApp::YoinkApp(int argc, char* argv[]) :
                          << "Send requests, patches, and bug reports to <"
                          PACKAGE_BUGREPORT << ">." << std::endl << std::endl;
 
+       char* dataDir = getenv("YOINK_DATADIR");
+
+       if (dataDir)
+       {
+               dc::resource::addSearchPath(dataDir);
+       }
+
        dc::resource::addSearchPath(YOINK_DATADIR);
 
        dc::dispatcher::instance().addHandler("video.context_recreated",
This page took 0.016945 seconds and 4 git commands to generate.