mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Replace GfxDrawStringNoFormatting() (#19414)
* Replace GfxDrawStringNoFormatting() * Unwrap static DrawText overload
This commit is contained in:
committed by
GitHub
parent
b56748bc82
commit
583b4ed0e6
@@ -326,7 +326,7 @@ void InGameConsole::Draw(DrawPixelInfo* dpi) const
|
||||
|
||||
// Draw current line
|
||||
lineBuffer = _colourFormatStr + _consoleCurrentLine;
|
||||
GfxDrawStringNoFormatting(dpi, screenCoords, lineBuffer.c_str(), { TEXT_COLOUR_255, InGameConsoleGetFontStyle() });
|
||||
DrawText(dpi, screenCoords, { TEXT_COLOUR_255, InGameConsoleGetFontStyle() }, lineBuffer.c_str(), true);
|
||||
|
||||
// Draw caret
|
||||
if (_consoleCaretTicks < CONSOLE_CARET_FLASH_THRESHOLD)
|
||||
|
||||
Reference in New Issue
Block a user