mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Revert "Cleanup"
This reverts commit 3108df009e5d9576609a2a152329c771b5d91c55.
This commit is contained in:
parent
3108df009e
commit
b96ec6b8a8
21
retroarch.c
21
retroarch.c
@ -31932,15 +31932,6 @@ static bool video_context_driver_get_video_output_next(struct
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool video_context_driver_get_video_output_prev(
|
||||
struct rarch_state *p_rarch)
|
||||
{
|
||||
if (!p_rarch->current_video_context.get_video_output_prev)
|
||||
return false;
|
||||
p_rarch->current_video_context.get_video_output_prev(
|
||||
p_rarch->video_context_data);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool video_driver_get_next_video_out(void)
|
||||
{
|
||||
@ -31969,7 +31960,7 @@ bool video_driver_get_prev_video_out(void)
|
||||
p_rarch->video_driver_data);
|
||||
return true;
|
||||
}
|
||||
return video_context_driver_get_video_output_prev(p_rarch);
|
||||
return video_context_driver_get_video_output_prev();
|
||||
}
|
||||
|
||||
void video_driver_monitor_reset(void)
|
||||
@ -33364,6 +33355,16 @@ bool video_context_driver_write_to_image_buffer(gfx_ctx_image_t *img)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool video_context_driver_get_video_output_prev(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
if (!p_rarch->current_video_context.get_video_output_prev)
|
||||
return false;
|
||||
p_rarch->current_video_context.get_video_output_prev(
|
||||
p_rarch->video_context_data);
|
||||
return true;
|
||||
}
|
||||
|
||||
void video_context_driver_translate_aspect(gfx_ctx_aspect_t *aspect)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
|
@ -1766,6 +1766,8 @@ const gfx_ctx_driver_t *video_context_driver_init_first(
|
||||
|
||||
bool video_context_driver_write_to_image_buffer(gfx_ctx_image_t *img);
|
||||
|
||||
bool video_context_driver_get_video_output_prev(void);
|
||||
|
||||
bool video_context_driver_set(const gfx_ctx_driver_t *data);
|
||||
|
||||
void video_context_driver_destroy(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user