mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
(Zarch) Move frame_background
This commit is contained in:
parent
ba811d89bf
commit
a252e72350
@ -928,13 +928,6 @@ static void zarch_frame(void)
|
||||
if (settings->menu.mouse.enable)
|
||||
zarch_draw_cursor(gl, menu_input_mouse_state(MENU_MOUSE_X_AXIS), menu_input_mouse_state(MENU_MOUSE_Y_AXIS));
|
||||
|
||||
menu_display_frame_background(menu, settings,
|
||||
gl, zui->width, zui->height,
|
||||
zui->textures.bg.id, 0.75f, false,
|
||||
&coord_color[0], &coord_color2[0],
|
||||
&zarch_vertexes[0], &zarch_tex_coords[0], 4,
|
||||
MENU_DISPLAY_PRIM_TRIANGLESTRIP);
|
||||
|
||||
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
|
||||
|
||||
menu_display_draw_frame(
|
||||
@ -946,6 +939,13 @@ static void zarch_frame(void)
|
||||
&zui->mvp, true, 0, zui->ca.coords.vertices,
|
||||
MENU_DISPLAY_PRIM_TRIANGLES);
|
||||
|
||||
menu_display_frame_background(menu, settings,
|
||||
gl, zui->width, zui->height,
|
||||
zui->textures.bg.id, 0.75f, false,
|
||||
&coord_color[0], &coord_color2[0],
|
||||
&zarch_vertexes[0], &zarch_tex_coords[0], 4,
|
||||
MENU_DISPLAY_PRIM_TRIANGLESTRIP);
|
||||
|
||||
menu_display_font_flush_block(zui->menu, driver->font_osd_driver);
|
||||
|
||||
zui->rendering = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user