mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Cleanup xmb_draw_cursor
This commit is contained in:
parent
699b5f7f3f
commit
1b4f19ab87
@ -1423,10 +1423,6 @@ static void xmb_draw_cursor(gl_t *gl, xmb_handle_t *xmb,
|
|||||||
float x, float y, unsigned width, unsigned height)
|
float x, float y, unsigned width, unsigned height)
|
||||||
{
|
{
|
||||||
struct gfx_coords coords;
|
struct gfx_coords coords;
|
||||||
math_matrix_4x4 mymat, mrot;
|
|
||||||
|
|
||||||
matrix_4x4_rotate_z(&mrot, 0);
|
|
||||||
matrix_4x4_multiply(&mymat, &mrot, &gl->mvp_no_rot);
|
|
||||||
|
|
||||||
coords.vertices = 4;
|
coords.vertices = 4;
|
||||||
coords.vertex = rmb_vertex;
|
coords.vertex = rmb_vertex;
|
||||||
@ -1441,7 +1437,7 @@ static void xmb_draw_cursor(gl_t *gl, xmb_handle_t *xmb,
|
|||||||
height - y - (xmb->cursor.size/2),
|
height - y - (xmb->cursor.size/2),
|
||||||
xmb->cursor.size,
|
xmb->cursor.size,
|
||||||
xmb->cursor.size,
|
xmb->cursor.size,
|
||||||
&coords, &mymat, xmb->textures.list[XMB_TEXTURE_POINTER].id,
|
&coords, NULL, xmb->textures.list[XMB_TEXTURE_POINTER].id,
|
||||||
MENU_DISPLAY_PRIM_TRIANGLESTRIP);
|
MENU_DISPLAY_PRIM_TRIANGLESTRIP);
|
||||||
|
|
||||||
menu_display_blend_end();
|
menu_display_blend_end();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user