diff --git a/video/out/opengl/context_rpi.c b/video/out/opengl/context_rpi.c index 570d43d99c..d91723b392 100644 --- a/video/out/opengl/context_rpi.c +++ b/video/out/opengl/context_rpi.c @@ -303,9 +303,6 @@ static int rpi_control(struct ra_ctx *ctx, int *events, int request, void *arg) case VOCTRL_SCREENSHOT_WIN: *(struct mp_image **)arg = take_screenshot(ctx); return VO_TRUE; - case VOCTRL_FULLSCREEN: - recreate_dispmanx(ctx); - return VO_TRUE; case VOCTRL_CHECK_EVENTS: if (atomic_fetch_and(&p->reload_display, 0)) { MP_WARN(ctx, "Recovering from display mode switch...\n"); diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index 2065151b1d..94bb30efe6 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -725,11 +725,6 @@ static int control(struct vo *vo, uint32_t request, void *data) struct priv *p = vo->priv; switch (request) { - case VOCTRL_FULLSCREEN: - if (p->renderer_enabled) - set_geometry(vo); - vo->want_redraw = true; - return VO_TRUE; case VOCTRL_SET_PANSCAN: if (p->renderer_enabled) resize(vo);