mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
video_driver_frame - cleanup
This commit is contained in:
parent
bbbf6513fd
commit
083d1fec69
@ -1847,7 +1847,7 @@ void video_driver_frame(const void *data, unsigned width,
|
|||||||
unsigned output_width = 0;
|
unsigned output_width = 0;
|
||||||
unsigned output_height = 0;
|
unsigned output_height = 0;
|
||||||
unsigned output_pitch = 0;
|
unsigned output_pitch = 0;
|
||||||
const char *msg = NULL;
|
const char *msg = rarch_main_msg_queue_pull();
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
if (!video_driver_ctl(RARCH_DISPLAY_CTL_IS_ACTIVE, NULL))
|
if (!video_driver_ctl(RARCH_DISPLAY_CTL_IS_ACTIVE, NULL))
|
||||||
@ -1885,8 +1885,6 @@ void video_driver_frame(const void *data, unsigned width,
|
|||||||
pitch = output_pitch;
|
pitch = output_pitch;
|
||||||
}
|
}
|
||||||
|
|
||||||
msg = rarch_main_msg_queue_pull();
|
|
||||||
|
|
||||||
if (!current_video || !current_video->frame(
|
if (!current_video || !current_video->frame(
|
||||||
video_driver_data, data, width, height, video_driver_frame_count,
|
video_driver_data, data, width, height, video_driver_frame_count,
|
||||||
pitch, msg))
|
pitch, msg))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user