Remove extraneous initialized check

This commit is contained in:
Ryan Huffman 2015-02-11 13:08:11 -08:00
parent 51ff897ee5
commit 341e31a074

View file

@ -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);