This commit is contained in:
twinaphex 2020-09-30 18:52:22 +02:00
parent 7f3b1c69e3
commit 8683f68ccb

View File

@ -684,13 +684,12 @@ void gfx_display_draw_bg(gfx_display_ctx_draw_t *draw,
if (draw->texture)
add_opacity_to_wallpaper = true;
else
draw->texture = gfx_display_white_texture;
if (add_opacity_to_wallpaper)
gfx_display_set_alpha(draw->color, override_opacity);
if (!draw->texture)
draw->texture = gfx_display_white_texture;
if (dispctx && dispctx->get_default_mvp)
draw->matrix_data = (math_matrix_4x4*)dispctx->get_default_mvp(
userdata);