mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-03 18:07:53 +01:00
* Part of #12017 - create gfx_draw_sprite overload Part 1. Creates the overload and replaces about a half of the calls since there are too many for one PR. Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
@@ -372,8 +372,9 @@ static void window_dropdown_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
image++;
|
||||
|
||||
gfx_draw_sprite(
|
||||
dpi, image, w->windowPos.x + 2 + (cell_x * _dropdown_item_width),
|
||||
w->windowPos.y + 2 + (cell_y * _dropdown_item_height), 0);
|
||||
dpi, image,
|
||||
w->windowPos + ScreenCoordsXY{ 2 + (cell_x * _dropdown_item_width), 2 + (cell_y * _dropdown_item_height) },
|
||||
0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user