diff --git a/examples/Info/InfoExampleUI.cpp b/examples/Info/InfoExampleUI.cpp index 6e692e0e..a72fcf97 100644 --- a/examples/Info/InfoExampleUI.cpp +++ b/examples/Info/InfoExampleUI.cpp @@ -36,7 +36,12 @@ public: fSampleRate = getSampleRate(); +#ifdef DGL_NO_SHARED_RESOURCES + createFontFromFile("sans", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"); +#else loadSharedResources(); +#endif + setGeometryConstraints(405, 256, true); }