mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 04:28:04 +00:00
video_driver_init_filter - cleanup
This commit is contained in:
parent
dd9034248b
commit
4df6151e14
@ -571,15 +571,13 @@ static void video_driver_init_filter(enum retro_pixel_format colfmt)
|
|||||||
width * height * video_driver_state_out_bpp);
|
width * height * video_driver_state_out_bpp);
|
||||||
#endif
|
#endif
|
||||||
if (!buf)
|
if (!buf)
|
||||||
goto error;
|
{
|
||||||
|
|
||||||
video_driver_state_buffer = buf;
|
|
||||||
|
|
||||||
return;
|
|
||||||
|
|
||||||
error:
|
|
||||||
RARCH_ERR("[Video]: Softfilter initialization failed.\n");
|
RARCH_ERR("[Video]: Softfilter initialization failed.\n");
|
||||||
video_driver_filter_free();
|
video_driver_filter_free();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
video_driver_state_buffer = buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void video_driver_init_input(const input_driver_t *tmp)
|
static void video_driver_init_input(const input_driver_t *tmp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user