mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 09:40:06 +00:00
Merge pull request #4373 from vanfanel/master
DISPMANX: Fix hang when null frame is passed (TyrQuake core)
This commit is contained in:
commit
dad2be5d70
@ -435,6 +435,9 @@ static bool dispmanx_gfx_frame(void *data, const void *frame, unsigned width,
|
|||||||
struct dispmanx_video *_dispvars = data;
|
struct dispmanx_video *_dispvars = data;
|
||||||
float aspect = video_driver_get_aspect_ratio();
|
float aspect = video_driver_get_aspect_ratio();
|
||||||
|
|
||||||
|
if (!frame)
|
||||||
|
return true;
|
||||||
|
|
||||||
if (width != _dispvars->core_width || height != _dispvars->core_height || _dispvars->aspect_ratio != aspect)
|
if (width != _dispvars->core_width || height != _dispvars->core_height || _dispvars->aspect_ratio != aspect)
|
||||||
{
|
{
|
||||||
/* Sanity check. */
|
/* Sanity check. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user