Browse Source

style fix

master
Odilitime 5 years ago
parent
commit
6c9fa3f573
  1. 2
      src/interfaces/components/TextComponent.cpp

2
src/interfaces/components/TextComponent.cpp

@ -99,7 +99,7 @@ inline void setVerticesColor(std::unique_ptr<float[]> &vertices, int p, unsigned @@ -99,7 +99,7 @@ inline void setVerticesColor(std::unique_ptr<float[]> &vertices, int p, unsigned
void TextComponent::rasterize(const int rawX, const int rawY) {
//const std::clock_t begin = clock();
const std::shared_ptr<TextRasterizer> textRasterizer=rasterizerCache->loadFont(fontSize, bold);
const std::shared_ptr<TextRasterizer> textRasterizer = rasterizerCache->loadFont(fontSize, bold);
//unsigned int glyphCount;
// we need to know how much width we have between x and windowWidth
// and preferrable where the inline starts

Loading…
Cancel
Save