1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

fix drawing of text

This commit is contained in:
Ted John
2016-06-11 23:14:22 +01:00
parent 4896d14940
commit f796ef5122
8 changed files with 190 additions and 49 deletions

View File

@@ -209,12 +209,12 @@ extern "C"
}
}
void FASTCALL gfx_draw_sprite_palette_set(rct_drawpixelinfo * dpi, int image, int x, int y, uint8 * palette, uint8 * unknown)
void FASTCALL gfx_draw_glpyh(rct_drawpixelinfo * dpi, int image, int x, int y, uint8 * palette)
{
if (_drawingEngine != nullptr)
{
IDrawingContext * dc = _drawingEngine->GetDrawingContext(dpi);
dc->DrawSpritePaletteSet(image, x, y, palette, unknown);
dc->DrawGlyph(image, x, y, palette);
}
}