mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-05 01:47:04 +00:00
Cleanups
This commit is contained in:
parent
439b761410
commit
0c65efdd65
@ -407,7 +407,8 @@ static void glui_frame(void)
|
||||
}
|
||||
}
|
||||
menu_video_frame_background(menu, settings,
|
||||
gl, glui->textures.bg.id, 0.75f, false,
|
||||
gl, width, height,
|
||||
glui->textures.bg.id, 0.75f, false,
|
||||
&coord_color[0], &coord_color2[0],
|
||||
&glui_vertexes[0], &glui_tex_coords[0]);
|
||||
|
||||
|
@ -1579,7 +1579,7 @@ static void xmb_frame(void)
|
||||
}
|
||||
|
||||
menu_video_frame_background(menu, settings,
|
||||
gl, xmb->textures.bg.id, xmb->alpha, false, &coord_color[0],
|
||||
gl, width, height, xmb->textures.bg.id, xmb->alpha, false, &coord_color[0],
|
||||
&coord_color2[0], &rmb_vertex[0], &rmb_tex_coord[0]);
|
||||
|
||||
xmb_draw_text(menu, xmb,
|
||||
@ -1675,6 +1675,7 @@ static void xmb_frame(void)
|
||||
if (render_background)
|
||||
{
|
||||
menu_video_frame_background(menu, settings, gl,
|
||||
width, height,
|
||||
xmb->textures.bg.id, xmb->alpha, true,
|
||||
&coord_color[0], &coord_color2[0],
|
||||
&rmb_vertex[0], &rmb_tex_coord[0]);
|
||||
|
@ -53,6 +53,8 @@ void menu_video_frame_background(
|
||||
menu_handle_t *menu,
|
||||
settings_t *settings,
|
||||
gl_t *gl,
|
||||
unsigned width,
|
||||
unsigned height,
|
||||
GLuint texture,
|
||||
float handle_alpha,
|
||||
bool force_transparency,
|
||||
@ -62,7 +64,6 @@ void menu_video_frame_background(
|
||||
const GRfloat *tex_coord)
|
||||
{
|
||||
struct gfx_coords coords;
|
||||
unsigned width, height;
|
||||
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
@ -83,8 +84,6 @@ void menu_video_frame_background(
|
||||
&& texture)
|
||||
coords.color = (const float*)coord_color2;
|
||||
|
||||
video_driver_get_size(&width, &height);
|
||||
|
||||
menu_video_draw_frame(0, 0, width, height,
|
||||
gl->shader, &coords,
|
||||
&gl->mvp_no_rot, true, texture);
|
||||
|
@ -40,6 +40,7 @@ void menu_video_frame_background(
|
||||
menu_handle_t *menu,
|
||||
settings_t *settings,
|
||||
gl_t *gl,
|
||||
unsigned width, unsigned height,
|
||||
GLuint texture,
|
||||
float handle_alpha,
|
||||
bool force_transparency,
|
||||
|
Loading…
x
Reference in New Issue
Block a user