Browse Source

Fix missing text in Info example

Signed-off-by: falkTX <falktx@falktx.com>
pull/215/merge
falkTX 5 years ago
parent
commit
d176b628fa
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      examples/Info/InfoExampleUI.cpp

+ 1
- 2
examples/Info/InfoExampleUI.cpp View File

@@ -35,8 +35,8 @@ public:
std::memset(fStrBuf, 0, sizeof(char)*(0xff+1));

fSampleRate = getSampleRate();
fFont = createFontFromFile("sans", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf");

loadSharedResources();
setGeometryConstraints(405, 256, true);
}

@@ -169,7 +169,6 @@ private:
double fSampleRate;

// UI stuff
FontId fFont;
float fScale;

// temp buf for text


Loading…
Cancel
Save