1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00
This commit is contained in:
zsilencer
2015-06-05 01:00:10 -06:00
parent cb9630e30b
commit 71ae580483
2 changed files with 3 additions and 3 deletions

View File

@@ -266,7 +266,7 @@ int screenshot_dump_png()
lodepng_palette_add(&state.info_raw, r, g, b, a);
}
error = lodepng_encode(&png, &pngSize, dpi->bits, stride, dpi->height, &state);
error = lodepng_encode(&png, &pngSize, dpi->bits, width, height, &state);
if (error) {
log_error("Unable to save screenshot, %u: %s", lodepng_error_text(error));
index = -1;