Rename runloop_msg_queue_push to video_driver_msg_queue_push

and move code to video_driver.c
This commit is contained in:
twinaphex 2016-12-22 13:14:43 +01:00
parent 9f09dd0f06
commit ad7386913c
50 changed files with 305 additions and 261 deletions

View file

@ -37,6 +37,7 @@
#include "../../runloop.h"
#include "../../performance_counters.h"
#include "../../gfx/video_driver.h"
#include "../../gfx/video_shader_driver.h"
#include "../../input/input_remapping.h"
@ -321,7 +322,7 @@ static int action_start_video_resolution(unsigned type, const char *label)
video_driver_set_video_mode(width, height, true);
strlcpy(msg, "Resetting to: DEFAULT", sizeof(msg));
runloop_msg_queue_push(msg, 1, 100, true);
video_driver_msg_queue_push(msg, 1, 100, true);
}
return 0;