mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix vulkan xmb bug.
This commit is contained in:
parent
218d6f5262
commit
ea3b79cb4a
@ -1371,19 +1371,23 @@ static void xmb_context_reset_horizontal_list(
|
||||
sizeof(content_texturepath));
|
||||
|
||||
image_texture_load(&ti, texturepath);
|
||||
|
||||
video_driver_texture_unload(&node->icon);
|
||||
video_driver_texture_load(&ti,
|
||||
TEXTURE_FILTER_MIPMAP_LINEAR, &node->icon);
|
||||
|
||||
if(ti.pixels) {
|
||||
video_driver_texture_unload(&node->icon);
|
||||
video_driver_texture_load(&ti,
|
||||
TEXTURE_FILTER_MIPMAP_LINEAR, &node->icon);
|
||||
}
|
||||
|
||||
image_texture_free(&ti);
|
||||
|
||||
image_texture_load(&ti, content_texturepath);
|
||||
|
||||
video_driver_texture_unload(&node->content_icon);
|
||||
video_driver_texture_load(&ti,
|
||||
TEXTURE_FILTER_MIPMAP_LINEAR, &node->content_icon);
|
||||
|
||||
|
||||
if(ti.pixels) {
|
||||
video_driver_texture_unload(&node->content_icon);
|
||||
video_driver_texture_load(&ti,
|
||||
TEXTURE_FILTER_MIPMAP_LINEAR, &node->content_icon);
|
||||
}
|
||||
|
||||
image_texture_free(&ti);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user