diff --git a/gfx/common/network_common.h b/gfx/common/network_common.h index 80a1825603..4de779287d 100644 --- a/gfx/common/network_common.h +++ b/gfx/common/network_common.h @@ -24,8 +24,6 @@ typedef struct network unsigned video_height; unsigned screen_width; unsigned screen_height; - void *ctx_data; - const gfx_ctx_driver_t *ctx_driver; char address[256]; uint16_t port; int fd; diff --git a/gfx/common/sixel_common.h b/gfx/common/sixel_common.h index 0ec5b5519b..1c7dd6195e 100644 --- a/gfx/common/sixel_common.h +++ b/gfx/common/sixel_common.h @@ -29,8 +29,6 @@ typedef struct sixel unsigned video_height; unsigned screen_width; unsigned screen_height; - void *ctx_data; - const gfx_ctx_driver_t *ctx_driver; } sixel_t; #endif diff --git a/gfx/drivers/network_gfx.c b/gfx/drivers/network_gfx.c index 2602e678d7..905f398f8a 100644 --- a/gfx/drivers/network_gfx.c +++ b/gfx/drivers/network_gfx.c @@ -341,7 +341,6 @@ static bool network_gfx_alive(void *data) bool resize = false; network_video_t *network = (network_video_t*)data; - /* Needed because some context drivers don't track their sizes */ video_driver_get_size(&temp_width, &temp_height); if (temp_width != 0 && temp_height != 0)