mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Buildfix for platforms that don't have widget support
This commit is contained in:
parent
81a12dec63
commit
c0a790e74a
@ -4789,11 +4789,13 @@ static void rgui_free(void *data)
|
||||
|
||||
if (rgui)
|
||||
{
|
||||
#ifdef HAVE_GFX_WIDGETS
|
||||
if (rgui->widgets_supported)
|
||||
{
|
||||
if (gfx_display_white_texture)
|
||||
video_driver_texture_unload(&gfx_display_white_texture);
|
||||
}
|
||||
#endif
|
||||
if (rgui->thumbnail_path_data)
|
||||
free(rgui->thumbnail_path_data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user