Get rid of unused function menu_display_get_tex_coords

This commit is contained in:
twinaphex 2019-08-11 17:49:28 +02:00
parent cfd229d95c
commit 09675c26a9
2 changed files with 1 additions and 13 deletions

View File

@ -1268,18 +1268,6 @@ void menu_display_rotate_z(menu_display_ctx_rotate_draw_t *draw,
matrix_4x4_multiply(*draw->matrix, matrix_scaled, *draw->matrix); matrix_4x4_multiply(*draw->matrix, matrix_scaled, *draw->matrix);
} }
bool menu_display_get_tex_coords(menu_display_ctx_coord_draw_t *draw)
{
if (!draw)
return false;
if (!menu_disp || !menu_disp->get_default_tex_coords)
return false;
draw->ptr = menu_disp->get_default_tex_coords();
return true;
}
static bool menu_driver_load_image(menu_ctx_load_image_t *load_image_info) static bool menu_driver_load_image(menu_ctx_load_image_t *load_image_info)
{ {
if (menu_driver_ctx && menu_driver_ctx->load_image) if (menu_driver_ctx && menu_driver_ctx->load_image)

View File

@ -624,9 +624,9 @@ void menu_display_draw_texture_slice(
int x, int y, unsigned w, unsigned h, int x, int y, unsigned w, unsigned h,
unsigned new_w, unsigned new_h, unsigned width, unsigned height, unsigned new_w, unsigned new_h, unsigned width, unsigned height,
float *color, unsigned offset, float scale_factor, uintptr_t texture); float *color, unsigned offset, float scale_factor, uintptr_t texture);
void menu_display_rotate_z(menu_display_ctx_rotate_draw_t *draw, void menu_display_rotate_z(menu_display_ctx_rotate_draw_t *draw,
video_frame_info_t *video_info); video_frame_info_t *video_info);
bool menu_display_get_tex_coords(menu_display_ctx_coord_draw_t *draw);
void menu_display_timedate(menu_display_ctx_datetime_t *datetime); void menu_display_timedate(menu_display_ctx_datetime_t *datetime);
void menu_display_powerstate(menu_display_ctx_powerstate_t *powerstate); void menu_display_powerstate(menu_display_ctx_powerstate_t *powerstate);