mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Remove some redundant casts and fix rct_sprite::AsDuck()
This commit is contained in:
committed by
GitHub
parent
c8c9bf70a7
commit
d481cca2ed
@@ -127,7 +127,7 @@ namespace Imaging
|
||||
png_destroy_read_struct(&png_ptr, &info_ptr, nullptr);
|
||||
|
||||
// Return the output data
|
||||
*pixels = (uint8*)pngPixels;
|
||||
*pixels = pngPixels;
|
||||
if (width != nullptr) *width = pngWidth;
|
||||
if (height != nullptr) *height = pngHeight;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user