mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-15 15:02:34 +02:00
Don't draw asterisks in subtitles (#510)
Don't draw asterisks in subtitles
This commit is contained in:
parent
e17f17cbce
commit
85785b04e0
@ -141,6 +141,9 @@ void TextRenderer::setFontTexture(int index, const std::string& texture) {
|
||||
|
||||
void TextRenderer::renderText(const TextRenderer::TextInfo& ti,
|
||||
bool forceColour) {
|
||||
if (ti.text.empty() || ti.text[0] == '*')
|
||||
return;
|
||||
|
||||
renderer->getRenderer()->pushDebugGroup("Text");
|
||||
renderer->getRenderer()->useProgram(textShader.get());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user