mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-08 19:40:30 +00:00
(menu_display_d3d) Reuse default_get_mvp
This commit is contained in:
parent
b52d36e7eb
commit
1a99b3ac2c
@ -113,7 +113,7 @@ static void menu_display_d3d_draw(
|
||||
height = 1;
|
||||
|
||||
if (!mat)
|
||||
mat = &gl->mvp_no_rot;
|
||||
mat = menu_display_d3d_get_default_mvp();
|
||||
if (!coords->vertex)
|
||||
coords->vertex = &d3d_vertexes[0];
|
||||
if (!coords->tex_coord)
|
||||
@ -189,7 +189,7 @@ static void menu_display_d3d_draw_bg(
|
||||
coords.color = (const float*)coord_color2;
|
||||
|
||||
menu_display_d3d_draw(0, 0, width, height,
|
||||
&coords, &gl->mvp_no_rot,
|
||||
&coords, (math_matrix_4x4*)menu_display_d3d_get_default_mvp(),
|
||||
(GLuint)texture, prim_type);
|
||||
|
||||
menu_display_d3d_blend_end();
|
||||
|
Loading…
Reference in New Issue
Block a user