Reorder structs, alignment

This commit is contained in:
twinaphex 2020-08-15 00:44:35 +02:00
parent e399a2f78e
commit a8646a2610
3 changed files with 6 additions and 6 deletions

View file

@ -42,9 +42,9 @@ enum image_process_code
struct texture_image
{
uint32_t *pixels;
unsigned width;
unsigned height;
uint32_t *pixels;
bool supports_rgba;
};

View file

@ -1896,11 +1896,11 @@ static bool downscale_thumbnail(rgui_t *rgui,
static void process_thumbnail(rgui_t *rgui, thumbnail_t *thumbnail, uint32_t *queue_size, struct texture_image *image_src)
{
unsigned x, y;
struct texture_image *image = NULL;
struct texture_image *image = NULL;
struct texture_image image_resampled = {
0,
0,
NULL,
0,
0,
false
};

View file

@ -345,9 +345,9 @@ bool task_image_load_handler(retro_task_t *task)
(float)min_size;
unsigned scale_factor_int = (unsigned)scale_factor;
struct texture_image img_resampled = {
0,
0,
NULL,
0,
0,
false
};