mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Replace GfxDrawString() with DrawText()
This commit is contained in:
@@ -323,7 +323,7 @@ void InGameConsole::Draw(DrawPixelInfo& dpi) const
|
||||
{
|
||||
const size_t index = i + _consoleScrollPos;
|
||||
lineBuffer = _colourFormatStr + _consoleLines[index];
|
||||
GfxDrawString(dpi, screenCoords, lineBuffer.c_str(), { textColour, InGameConsoleGetFontStyle() });
|
||||
DrawText(dpi, screenCoords, { textColour, InGameConsoleGetFontStyle() }, lineBuffer.c_str());
|
||||
screenCoords.y += lineHeight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user