(gfx_display.c) Remove unused variables

This commit is contained in:
jdgleaver 2021-08-23 12:11:00 +01:00
parent f2d574fd87
commit 67bc91c1d0

View File

@ -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,
};
struct video_coords coords;
gfx_display_ctx_draw_t draw;
math_matrix_4x4 mymat;
gfx_display_ctx_rotate_draw_t rotate_draw;
rotate_draw.matrix = &mymat;
@ -1155,12 +1153,6 @@ void gfx_display_draw_keyboard(
rotate_draw.scale_z = 1;
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(
p_disp,
userdata,
@ -1183,9 +1175,6 @@ void gfx_display_draw_keyboard(
gfx_display_rotate_z(p_disp, &rotate_draw, userdata);
draw.coords = &coords;
draw.matrix_data = &mymat;
for (i = 0; i < 44; i++)
{
int line_y = (i / 11) * video_height / 10.0;