mirror of
https://github.com/libretro/RetroArch
synced 2025-03-18 04:21:19 +00:00
Revert "Cleanups"
This reverts commit 529886a3fe5527cf45037a5315194f5af3ad3697.
This commit is contained in:
parent
03fe023de4
commit
31f570fdf6
14
retroarch.c
14
retroarch.c
@ -33625,16 +33625,16 @@ bool video_context_driver_set_flags(gfx_ctx_flags_t *flags)
|
|||||||
if (!flags)
|
if (!flags)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (p_rarch->current_video_context.set_flags)
|
if (!p_rarch->current_video_context.set_flags)
|
||||||
{
|
{
|
||||||
p_rarch->current_video_context.set_flags(
|
p_rarch->deferred_flag_data.flags = flags->flags;
|
||||||
p_rarch->video_context_data, flags->flags);
|
p_rarch->deferred_video_context_driver_set_flags = true;
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
p_rarch->deferred_flag_data.flags = flags->flags;
|
p_rarch->current_video_context.set_flags(
|
||||||
p_rarch->deferred_video_context_driver_set_flags = true;
|
p_rarch->video_context_data, flags->flags);
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum gfx_ctx_api video_context_driver_get_api(void)
|
enum gfx_ctx_api video_context_driver_get_api(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user