From 31ac4c0061f0c34b99ddf2643e912efa5549d0bd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 6 Aug 2019 17:07:10 +0200 Subject: Change directory to main dir, to make resources load --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/QuickMedia.cpp') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index a9087b1..5de8a0f 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -27,7 +27,7 @@ namespace QuickMedia { image_index(0) { window.setVerticalSyncEnabled(true); - if(!font.loadFromFile("fonts/Lato-Regular.ttf")) { + if(!font.loadFromFile("../../../fonts/Lato-Regular.ttf")) { fprintf(stderr, "Failed to load font!\n"); abort(); } -- cgit v1.2.3