Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions allocore/examples/graphics/font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion allocore/examples/graphics/modelShader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion allocore/examples/graphics/textureImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down