mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
(image_rpng.c) Fix warning
This commit is contained in:
parent
6bde636fac
commit
3879f1214d
@ -126,9 +126,9 @@ static bool rpng_image_load_argb_shift(const char *path, struct texture_image *o
|
||||
// This is quite uncommon ...
|
||||
if (a_shift != 24 || r_shift != 16 || g_shift != 8 || b_shift != 0)
|
||||
{
|
||||
int i;
|
||||
unsigned num_pixels = out_img->width * out_img->height;
|
||||
uint32_t *pixels = (uint32_t*)out_img->pixels;
|
||||
uint32_t i, num_pixels, *pixels;
|
||||
num_pixels = out_img->width * out_img->height;
|
||||
pixels = (uint32_t*)out_img->pixels;
|
||||
|
||||
for (i = 0; i < num_pixels; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user