mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-30 08:02:22 +00:00
(GLUI) Cleanup
This commit is contained in:
parent
6516fc783b
commit
b1c66c5dec
@ -242,9 +242,14 @@ static void glui_render_quad(gl_t *gl, int x, int y, int w, int h,
|
||||
GRfloat *coord_color)
|
||||
{
|
||||
struct gfx_coords coords;
|
||||
math_matrix_4x4 mymat, mrot;
|
||||
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
glui_handle_t *glui = (glui_handle_t*)menu->userdata;
|
||||
|
||||
matrix_4x4_rotate_z(&mrot, 0);
|
||||
matrix_4x4_multiply(&mymat, &mrot, &gl->mvp_no_rot);
|
||||
|
||||
coords.vertices = 4;
|
||||
coords.vertex = glui_vertexes;
|
||||
coords.tex_coord = glui_tex_coords;
|
||||
@ -258,8 +263,7 @@ static void glui_render_quad(gl_t *gl, int x, int y, int w, int h,
|
||||
height - y - h,
|
||||
w,
|
||||
h,
|
||||
&coords,
|
||||
&gl->mvp_no_rot, glui->textures.white, 4,
|
||||
&coords, &mymat, glui->textures.white, 4,
|
||||
MENU_DISPLAY_PRIM_TRIANGLESTRIP );
|
||||
|
||||
gl->coords.color = gl->white_color_ptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user