Reorder structs, alignment
This commit is contained in:
parent
e399a2f78e
commit
a8646a2610
|
@ -42,9 +42,9 @@ enum image_process_code
|
|||
|
||||
struct texture_image
|
||||
{
|
||||
uint32_t *pixels;
|
||||
unsigned width;
|
||||
unsigned height;
|
||||
uint32_t *pixels;
|
||||
bool supports_rgba;
|
||||
};
|
||||
|
||||
|
|
|
@ -1898,9 +1898,9 @@ static void process_thumbnail(rgui_t *rgui, thumbnail_t *thumbnail, uint32_t *qu
|
|||
unsigned x, y;
|
||||
struct texture_image *image = NULL;
|
||||
struct texture_image image_resampled = {
|
||||
0,
|
||||
0,
|
||||
NULL,
|
||||
0,
|
||||
0,
|
||||
false
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue