From 341e31a074ee2ae60ccbc1d05fff0a4810c95c73 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 11 Feb 2015 13:08:11 -0800 Subject: [PATCH] Remove extraneous initialized check --- libraries/render-utils/src/TextRenderer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/render-utils/src/TextRenderer.cpp b/libraries/render-utils/src/TextRenderer.cpp index 0c6d1523d4..ee40d9d02c 100644 --- a/libraries/render-utils/src/TextRenderer.cpp +++ b/libraries/render-utils/src/TextRenderer.cpp @@ -418,9 +418,7 @@ glm::vec2 Font::drawString(float x, float y, const QString & str, const glm::vec4& color, TextRenderer::EffectType effectType, const glm::vec2& bounds) { - if (!_initialized) { - setupGL(); - } + setupGL(); // Stores how far we've moved from the start of the string, in DTP units glm::vec2 advance(0, -_rowHeight - _descent);