From 0cf31e51c60e556b9d1c1b54d9cb53f6a6333920 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Wed, 12 Apr 2023 13:58:17 +0200 Subject: [PATCH] use shared_ptr for font --- example/src/ofApp.cpp | 2 +- example/src/ofApp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/ofApp.cpp b/example/src/ofApp.cpp index 111553a..fba44a8 100644 --- a/example/src/ofApp.cpp +++ b/example/src/ofApp.cpp @@ -39,7 +39,7 @@ void ofApp::setup(){ mainText = R"DONE(abcdefghijklmnopqrstuvqxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",.!@#$%^&*()_+=-[]{})DONE"; - mainText = "something is a sentence if words are being concerning which"; + mainText = "someteiaubs whatever"; mainText_full = R"DONE(Some things are hard to write about. Take soil, for instance. Soil, Oxford dictionary reads, “is the upper layer of earth in which plants grow, a black or diff --git a/example/src/ofApp.h b/example/src/ofApp.h index 828b73c..cdda0d7 100644 --- a/example/src/ofApp.h +++ b/example/src/ofApp.h @@ -39,7 +39,7 @@ class ofApp : public ofBaseApp { void exit(); - unique_ptr font; + shared_ptr font; FT_Library library; // Empty VAO used when the vertex shader has no input and only uses gl_VertexID,