mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
(gfx_display.c) Remove unused variables
This commit is contained in:
parent
f2d574fd87
commit
67bc91c1d0
@ -1144,8 +1144,6 @@ void gfx_display_draw_keyboard(
|
|||||||
0.00, 0.00, 0.00, 0.85,
|
0.00, 0.00, 0.00, 0.85,
|
||||||
0.00, 0.00, 0.00, 0.85,
|
0.00, 0.00, 0.00, 0.85,
|
||||||
};
|
};
|
||||||
struct video_coords coords;
|
|
||||||
gfx_display_ctx_draw_t draw;
|
|
||||||
math_matrix_4x4 mymat;
|
math_matrix_4x4 mymat;
|
||||||
gfx_display_ctx_rotate_draw_t rotate_draw;
|
gfx_display_ctx_rotate_draw_t rotate_draw;
|
||||||
rotate_draw.matrix = &mymat;
|
rotate_draw.matrix = &mymat;
|
||||||
@ -1155,12 +1153,6 @@ void gfx_display_draw_keyboard(
|
|||||||
rotate_draw.scale_z = 1;
|
rotate_draw.scale_z = 1;
|
||||||
rotate_draw.scale_enable = true;
|
rotate_draw.scale_enable = true;
|
||||||
|
|
||||||
coords.vertices = 4;
|
|
||||||
coords.vertex = NULL;
|
|
||||||
coords.tex_coord = NULL;
|
|
||||||
coords.lut_tex_coord = NULL;
|
|
||||||
coords.color = (const float*)&white[0];
|
|
||||||
|
|
||||||
gfx_display_draw_quad(
|
gfx_display_draw_quad(
|
||||||
p_disp,
|
p_disp,
|
||||||
userdata,
|
userdata,
|
||||||
@ -1183,9 +1175,6 @@ void gfx_display_draw_keyboard(
|
|||||||
|
|
||||||
gfx_display_rotate_z(p_disp, &rotate_draw, userdata);
|
gfx_display_rotate_z(p_disp, &rotate_draw, userdata);
|
||||||
|
|
||||||
draw.coords = &coords;
|
|
||||||
draw.matrix_data = &mymat;
|
|
||||||
|
|
||||||
for (i = 0; i < 44; i++)
|
for (i = 0; i < 44; i++)
|
||||||
{
|
{
|
||||||
int line_y = (i / 11) * video_height / 10.0;
|
int line_y = (i / 11) * video_height / 10.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user