(Ozone) UWP Build fix.

This commit is contained in:
Gabriel Morazán 2022-05-20 22:10:27 -04:00 committed by GitHub
parent 4ee841b5e1
commit 9a0f59677b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8261,8 +8261,6 @@ static void ozone_render(void *data,
gfx_animation_t *p_anim = anim_get_ptr();
settings_t *settings = config_get_ptr();
bool ozone_collapse_sidebar = settings->bools.ozone_collapse_sidebar;
float ozone_thumbnail_scale_factor =
settings->floats.ozone_thumbnail_scale_factor;
if (!ozone)
return;
@ -8270,6 +8268,7 @@ static void ozone_render(void *data,
* factor have changed */
scale_factor = gfx_display_get_dpi_scale(p_disp, settings,
width, height, false, false);
thumbnail_scale_factor = settings->floats.ozone_thumbnail_scale_factor;
if ((scale_factor != ozone->last_scale_factor) ||
(thumbnail_scale_factor != ozone->last_thumbnail_scale_factor) ||