diff --git a/gfx/drivers/dispmanx_gfx.c b/gfx/drivers/dispmanx_gfx.c index 5e05be6688..932bd4f602 100644 --- a/gfx/drivers/dispmanx_gfx.c +++ b/gfx/drivers/dispmanx_gfx.c @@ -435,6 +435,9 @@ static bool dispmanx_gfx_frame(void *data, const void *frame, unsigned width, struct dispmanx_video *_dispvars = data; float aspect = video_driver_get_aspect_ratio(); + if (!frame) + return true; + if (width != _dispvars->core_width || height != _dispvars->core_height || _dispvars->aspect_ratio != aspect) { /* Sanity check. */