use shared_ptr for font
This commit is contained in:
parent
5d3dbc075c
commit
0cf31e51c6
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ void ofApp::setup(){
|
||||||
mainText = R"DONE(abcdefghijklmnopqrstuvqxyz
|
mainText = R"DONE(abcdefghijklmnopqrstuvqxyz
|
||||||
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
0123456789",.!@#$%^&*()_+=-[]{})DONE";
|
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,
|
mainText_full = R"DONE(Some things are hard to write about. Take soil,
|
||||||
for instance. Soil, Oxford dictionary reads, “is the
|
for instance. Soil, Oxford dictionary reads, “is the
|
||||||
upper layer of earth in which plants grow, a black or
|
upper layer of earth in which plants grow, a black or
|
||||||
|
|
|
@ -39,7 +39,7 @@ class ofApp : public ofBaseApp {
|
||||||
|
|
||||||
void exit();
|
void exit();
|
||||||
|
|
||||||
unique_ptr <ofxGPUFont::Font> font;
|
shared_ptr <ofxGPUFont::Font> font;
|
||||||
FT_Library library;
|
FT_Library library;
|
||||||
|
|
||||||
// Empty VAO used when the vertex shader has no input and only uses gl_VertexID,
|
// Empty VAO used when the vertex shader has no input and only uses gl_VertexID,
|
||||||
|
|
Loading…
Reference in a new issue