1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Part of #12096: ScreenRect for gfx_fill_rect in libopenrct2 (#12109)

This commit is contained in:
frutiemax
2020-07-08 13:07:26 -04:00
committed by GitHub
parent 280a21fa30
commit bf2b8073cb
7 changed files with 28 additions and 19 deletions

View File

@@ -191,7 +191,7 @@ void chat_draw(rct_drawpixelinfo* dpi, uint8_t chatBackgroundColor)
int32_t caretX = screenCoords.x + gfx_get_string_width(lineBuffer);
int32_t caretY = screenCoords.y + 14;
gfx_fill_rect(dpi, caretX, caretY, caretX + 6, caretY + 1, PALETTE_INDEX_56);
gfx_fill_rect(dpi, { { caretX, caretY }, { caretX + 6, caretY + 1 } }, PALETTE_INDEX_56);
}
}
}