mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
fix drawing of object preview
We can't use dpi->width and dpi->height as they only define the clip region, not the viewport
This commit is contained in:
@@ -89,7 +89,7 @@ void * object_repository_load_object(const rct_object_e
|
||||
|
||||
void object_delete(void * object);
|
||||
const utf8 * object_get_description(const void * object);
|
||||
void object_draw_preview(const void * object, rct_drawpixelinfo * dpi);
|
||||
void object_draw_preview(const void * object, rct_drawpixelinfo * dpi, sint32 width, sint32 height);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user