mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Fix for libpng
This commit is contained in:
@@ -142,7 +142,7 @@ bool image_io_png_write(const rct_drawpixelinfo *dpi, const rct_palette *palette
|
|||||||
// Write pixels
|
// Write pixels
|
||||||
uint8 *bits = dpi->bits;
|
uint8 *bits = dpi->bits;
|
||||||
for (int y = 0; y < dpi->height; y++) {
|
for (int y = 0; y < dpi->height; y++) {
|
||||||
png_write_row(png_ptr, (png_const_bytep)bits);
|
png_write_row(png_ptr, (png_byte *)bits);
|
||||||
bits += stride;
|
bits += stride;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user