mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Merge pull request #5741 from orbea/vulkan
Silence -Wunused-function warning.
This commit is contained in:
commit
d991908ba8
@ -497,10 +497,12 @@ const char* config_get_video_driver_options(void)
|
|||||||
return char_list_new_special(STRING_LIST_VIDEO_DRIVERS, NULL);
|
return char_list_new_special(STRING_LIST_VIDEO_DRIVERS, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_VULKAN
|
||||||
static bool hw_render_context_is_vulkan(enum retro_hw_context_type type)
|
static bool hw_render_context_is_vulkan(enum retro_hw_context_type type)
|
||||||
{
|
{
|
||||||
return type == RETRO_HW_CONTEXT_VULKAN;
|
return type == RETRO_HW_CONTEXT_VULKAN;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool hw_render_context_is_gl(enum retro_hw_context_type type)
|
static bool hw_render_context_is_gl(enum retro_hw_context_type type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user