mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
Remove extraneous initialized check
This commit is contained in:
parent
51ff897ee5
commit
341e31a074
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue