1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-21 18:40:09 +00:00

(menu_display_d3d) Reuse default_get_mvp

This commit is contained in:
twinaphex 2015-11-08 23:15:54 +01:00
parent b52d36e7eb
commit 1a99b3ac2c

@ -113,7 +113,7 @@ static void menu_display_d3d_draw(
height = 1; height = 1;
if (!mat) if (!mat)
mat = &gl->mvp_no_rot; mat = menu_display_d3d_get_default_mvp();
if (!coords->vertex) if (!coords->vertex)
coords->vertex = &d3d_vertexes[0]; coords->vertex = &d3d_vertexes[0];
if (!coords->tex_coord) if (!coords->tex_coord)
@ -189,7 +189,7 @@ static void menu_display_d3d_draw_bg(
coords.color = (const float*)coord_color2; coords.color = (const float*)coord_color2;
menu_display_d3d_draw(0, 0, width, height, 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); (GLuint)texture, prim_type);
menu_display_d3d_blend_end(); menu_display_d3d_blend_end();