Cleanup
This commit is contained in:
parent
7f3b1c69e3
commit
8683f68ccb
|
@ -684,13 +684,12 @@ void gfx_display_draw_bg(gfx_display_ctx_draw_t *draw,
|
||||||
|
|
||||||
if (draw->texture)
|
if (draw->texture)
|
||||||
add_opacity_to_wallpaper = true;
|
add_opacity_to_wallpaper = true;
|
||||||
|
else
|
||||||
|
draw->texture = gfx_display_white_texture;
|
||||||
|
|
||||||
if (add_opacity_to_wallpaper)
|
if (add_opacity_to_wallpaper)
|
||||||
gfx_display_set_alpha(draw->color, override_opacity);
|
gfx_display_set_alpha(draw->color, override_opacity);
|
||||||
|
|
||||||
if (!draw->texture)
|
|
||||||
draw->texture = gfx_display_white_texture;
|
|
||||||
|
|
||||||
if (dispctx && dispctx->get_default_mvp)
|
if (dispctx && dispctx->get_default_mvp)
|
||||||
draw->matrix_data = (math_matrix_4x4*)dispctx->get_default_mvp(
|
draw->matrix_data = (math_matrix_4x4*)dispctx->get_default_mvp(
|
||||||
userdata);
|
userdata);
|
||||||
|
|
Loading…
Reference in New Issue