Просмотр исходного кода

Corrected DrawTextRecEx() bug

pull/1467/head
Ray 4 лет назад
Родитель
Сommit
015e715278
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/text.c

+ 1
- 1
src/text.c Просмотреть файл

@ -1021,7 +1021,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
// Draw current character glyph
if ((codepoint != ' ') && (codepoint != '\t'))
{
DrawTextCodepoint(font, codepoint, (Vector2){ position.x + textOffsetX, position.y + textOffsetY }, fontSize, isGlyphSelected? selectTint : tint);
DrawTextCodepoint(font, codepoint, (Vector2){ rec.x + textOffsetX, rec.y + textOffsetY }, fontSize, isGlyphSelected? selectTint : tint);
}
}

Загрузка…
Отмена
Сохранить