mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-25 12:20:48 +00:00
Cleanups
This commit is contained in:
parent
119689c940
commit
529886a3fe
14
retroarch.c
14
retroarch.c
@ -33625,16 +33625,16 @@ bool video_context_driver_set_flags(gfx_ctx_flags_t *flags)
|
||||
if (!flags)
|
||||
return false;
|
||||
|
||||
if (!p_rarch->current_video_context.set_flags)
|
||||
if (p_rarch->current_video_context.set_flags)
|
||||
{
|
||||
p_rarch->deferred_flag_data.flags = flags->flags;
|
||||
p_rarch->deferred_video_context_driver_set_flags = true;
|
||||
return false;
|
||||
p_rarch->current_video_context.set_flags(
|
||||
p_rarch->video_context_data, flags->flags);
|
||||
return true;
|
||||
}
|
||||
|
||||
p_rarch->current_video_context.set_flags(
|
||||
p_rarch->video_context_data, flags->flags);
|
||||
return true;
|
||||
p_rarch->deferred_flag_data.flags = flags->flags;
|
||||
p_rarch->deferred_video_context_driver_set_flags = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
enum gfx_ctx_api video_context_driver_get_api(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user