mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Reorder structs, alignment
This commit is contained in:
parent
e399a2f78e
commit
a8646a2610
3 changed files with 6 additions and 6 deletions
|
@ -42,9 +42,9 @@ enum image_process_code
|
|||
|
||||
struct texture_image
|
||||
{
|
||||
uint32_t *pixels;
|
||||
unsigned width;
|
||||
unsigned height;
|
||||
uint32_t *pixels;
|
||||
bool supports_rgba;
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue