diff --git a/gfx/gfx_display.c b/gfx/gfx_display.c index 2f5d3c94c1..1dd56db989 100644 --- a/gfx/gfx_display.c +++ b/gfx/gfx_display.c @@ -1465,12 +1465,6 @@ unsigned gfx_display_get_header_height(void) return p_disp->header_height; } -size_t gfx_display_get_framebuffer_pitch(void) -{ - gfx_display_t *p_disp = disp_get_ptr(); - return p_disp->framebuf_pitch; -} - void gfx_display_set_framebuffer_pitch(size_t pitch) { gfx_display_t *p_disp = disp_get_ptr(); diff --git a/gfx/gfx_display.h b/gfx/gfx_display.h index 144927c8c1..988e622282 100644 --- a/gfx/gfx_display.h +++ b/gfx/gfx_display.h @@ -263,7 +263,6 @@ void gfx_display_get_fb_size(unsigned *fb_width, unsigned *fb_height, void gfx_display_set_height(unsigned height); void gfx_display_set_header_height(unsigned height); unsigned gfx_display_get_header_height(void); -size_t gfx_display_get_framebuffer_pitch(void); void gfx_display_set_framebuffer_pitch(size_t pitch); bool gfx_display_get_msg_force(void);