diff --git a/dynamic.c b/dynamic.c index 739064d11d..a48cb7dab3 100644 --- a/dynamic.c +++ b/dynamic.c @@ -858,7 +858,7 @@ static bool dynamic_verify_hw_context(enum retro_hw_context_type type, switch (type) { case RETRO_HW_CONTEXT_VULKAN: - if (string_is_not_equal_fast(video_ident, "vulkan", 6)) + if (!string_is_equal(video_ident, "vulkan")) return false; break; case RETRO_HW_CONTEXT_OPENGLES2: @@ -866,7 +866,7 @@ static bool dynamic_verify_hw_context(enum retro_hw_context_type type, case RETRO_HW_CONTEXT_OPENGLES_VERSION: case RETRO_HW_CONTEXT_OPENGL: case RETRO_HW_CONTEXT_OPENGL_CORE: - if (string_is_not_equal_fast(video_ident, "gl", 2)) + if (!string_is_equal(video_ident, "gl")) return false; break; default: