mirror of
https://github.com/libretro/RetroArch
synced 2025-01-06 01:02:15 +00:00
Set supports_rgba for overlay images
This commit is contained in:
parent
9b6b055047
commit
ccca4c303d
@ -82,6 +82,8 @@ static void task_overlay_load_desc_image(
|
||||
fill_pathname_resolve_relative(path, loader->overlay_path,
|
||||
image_path, sizeof(path));
|
||||
|
||||
image_tex.supports_rgba = video_driver_supports_rgba();
|
||||
|
||||
if (image_texture_load(&image_tex, path))
|
||||
{
|
||||
input_overlay->load_images[input_overlay->load_images_size++] = image_tex;
|
||||
@ -584,6 +586,8 @@ static void task_overlay_deferred_load(retro_task_t *task)
|
||||
loader->overlay_path,
|
||||
overlay->config.paths.path, sizeof(overlay_resolved_path));
|
||||
|
||||
image_tex.supports_rgba = video_driver_supports_rgba();
|
||||
|
||||
if (!image_texture_load(&image_tex, overlay_resolved_path))
|
||||
{
|
||||
RARCH_ERR("[Overlay]: Failed to load image: %s.\n",
|
||||
|
Loading…
Reference in New Issue
Block a user