mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Attempt to fix Mac build
This commit is contained in:
parent
12540d750d
commit
89968333a4
@ -22096,18 +22096,18 @@ void video_driver_hide_mouse(void)
|
|||||||
p_rarch->video_driver_poke->show_mouse(p_rarch->video_driver_data, false);
|
p_rarch->video_driver_poke->show_mouse(p_rarch->video_driver_data, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_VULKAN) || defined(HAVE_D3D11) || defined(HAVE_D3D9) || defined(HAVE_OPENGL_CORE)
|
#if defined(HAVE_VULKAN) || defined(HAVE_D3D11) || defined(HAVE_D3D9) || defined(HAVE_OPENGL)
|
||||||
static void video_driver_save_as_cached(struct rarch_state *p_rarch,
|
static void video_driver_save_as_cached(struct rarch_state *p_rarch,
|
||||||
settings_t *settings, const char *rdr_context_name)
|
settings_t *settings, const char *rdr_context_name)
|
||||||
{
|
{
|
||||||
RARCH_LOG("[Video]: \"%s\" saved as cached driver.\n",
|
|
||||||
settings->arrays.video_driver);
|
|
||||||
strlcpy(p_rarch->cached_video_driver,
|
strlcpy(p_rarch->cached_video_driver,
|
||||||
settings->arrays.video_driver,
|
settings->arrays.video_driver,
|
||||||
sizeof(p_rarch->cached_video_driver));
|
sizeof(p_rarch->cached_video_driver));
|
||||||
configuration_set_string(settings,
|
configuration_set_string(settings,
|
||||||
settings->arrays.video_driver,
|
settings->arrays.video_driver,
|
||||||
rdr_context_name);
|
rdr_context_name);
|
||||||
|
RARCH_LOG("[Video]: \"%s\" saved as cached driver.\n",
|
||||||
|
settings->arrays.video_driver);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user