Merge pull request #5741 from orbea/vulkan

Silence -Wunused-function warning.
This commit is contained in:
Twinaphex 2017-11-22 13:08:24 +01:00 committed by GitHub
commit d991908ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,10 +497,12 @@ const char* config_get_video_driver_options(void)
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)
{
return type == RETRO_HW_CONTEXT_VULKAN;
}
#endif
static bool hw_render_context_is_gl(enum retro_hw_context_type type)
{