diff --git a/allocore/examples/graphics/font.cpp b/allocore/examples/graphics/font.cpp index 42924ed42..00ced5824 100755 --- a/allocore/examples/graphics/font.cpp +++ b/allocore/examples/graphics/font.cpp @@ -21,9 +21,9 @@ class MyApp : public App{ Font font3; MyApp() - : font1("../../share/fonts/VeraMoIt.ttf", 20), - font2("../../share/fonts/VeraMoBd.ttf", 14), - font3("../../share/fonts/VeraMono.ttf", 10) + : font1("allocore/share/fonts/VeraMoIt.ttf", 20), + font2("allocore/share/fonts/VeraMoBd.ttf", 14), + font3("allocore/share/fonts/VeraMono.ttf", 10) { nav().pos(0,0,4); initWindow(Window::Dim(400,200)); diff --git a/allocore/examples/graphics/modelShader.cpp b/allocore/examples/graphics/modelShader.cpp index 310c6b80f..5f8ea3901 100644 --- a/allocore/examples/graphics/modelShader.cpp +++ b/allocore/examples/graphics/modelShader.cpp @@ -153,7 +153,7 @@ MyWindow win1; int main (int argc, char * const argv[]) { searchpaths.addAppPaths(argc, argv); - searchpaths.addSearchPath(searchpaths.appPath() + "../../share"); + searchpaths.addSearchPath(searchpaths.appPath() + "../../allocore/share"); searchpaths.print(); // load in a "scene" diff --git a/allocore/examples/graphics/textureImage.cpp b/allocore/examples/graphics/textureImage.cpp index 18e4c60bc..608810b8d 100644 --- a/allocore/examples/graphics/textureImage.cpp +++ b/allocore/examples/graphics/textureImage.cpp @@ -24,7 +24,7 @@ struct MyApp : App { // Load a .jpg file // - const char *filename = "../../share/images/tiny.jpg"; + const char *filename = "allocore/share/images/tiny.jpg"; if (image.load(filename)) { printf("Read image from %s\n", filename);