mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Change gfx_clear argument type
`colour` gets passed on to IDrawingContext::Clear, which expects uint32
This commit is contained in:
committed by
Ted John
parent
4db876c184
commit
dd25cdc4f4
@@ -176,7 +176,7 @@ extern "C"
|
||||
{
|
||||
}
|
||||
|
||||
void gfx_clear(rct_drawpixelinfo * dpi, int colour)
|
||||
void gfx_clear(rct_drawpixelinfo * dpi, uint32 colour)
|
||||
{
|
||||
if (_drawingEngine != nullptr)
|
||||
{
|
||||
|
||||
@@ -160,7 +160,7 @@ void gfx_transpose_palette(int pal, unsigned char product);
|
||||
void load_palette();
|
||||
|
||||
// other
|
||||
void gfx_clear(rct_drawpixelinfo *dpi, int colour);
|
||||
void gfx_clear(rct_drawpixelinfo *dpi, uint32 colour);
|
||||
void gfx_draw_pixel(rct_drawpixelinfo *dpi, int x, int y, int colour);
|
||||
void gfx_invalidate_pickedup_peep();
|
||||
void gfx_draw_pickedup_peep(rct_drawpixelinfo *dpi);
|
||||
|
||||
Reference in New Issue
Block a user