From 67bc91c1d09b2a10b2abd62e6ac3770101b59174 Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Mon, 23 Aug 2021 12:11:00 +0100 Subject: [PATCH] (gfx_display.c) Remove unused variables --- gfx/gfx_display.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gfx/gfx_display.c b/gfx/gfx_display.c index 390e2b1ef5..77be7676ac 100644 --- a/gfx/gfx_display.c +++ b/gfx/gfx_display.c @@ -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;