(FPGA Gfx) get rid of unused viewport_info/read_viewport functions
This commit is contained in:
parent
336ca1a68c
commit
2d33c49b26
|
@ -296,21 +296,6 @@ static void fpga_gfx_set_rotation(void *data,
|
|||
(void)rotation;
|
||||
}
|
||||
|
||||
static void fpga_gfx_viewport_info(void *data,
|
||||
struct video_viewport *vp)
|
||||
{
|
||||
(void)data;
|
||||
(void)vp;
|
||||
}
|
||||
|
||||
static bool fpga_gfx_read_viewport(void *data, uint8_t *buffer, bool is_idle)
|
||||
{
|
||||
(void)data;
|
||||
(void)buffer;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static void fpga_set_texture_frame(void *data,
|
||||
const void *frame, bool rgb32, unsigned width, unsigned height,
|
||||
float alpha)
|
||||
|
@ -417,8 +402,8 @@ video_driver_t video_fpga = {
|
|||
"fpga",
|
||||
fpga_gfx_set_viewport,
|
||||
fpga_gfx_set_rotation,
|
||||
fpga_gfx_viewport_info,
|
||||
fpga_gfx_read_viewport,
|
||||
NULL, /* viewport_info */
|
||||
NULL, /* read_viewport */
|
||||
NULL, /* read_frame_raw */
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
|
|
Loading…
Reference in New Issue