mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
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)
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user