From b0c97e901f1a9f976f608b84c32eed42b7f6dc24 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 22 Dec 2016 14:31:19 +0100 Subject: [PATCH] Initialize message queue first --- gfx/video_driver.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index d644f10ce4..4f474cf7cf 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1630,11 +1630,9 @@ void video_driver_init(void) { bool initialized = false; video_driver_lock_new(); + video_driver_msg_queue_init(); - initialized = init_video(); - - if (initialized) - video_driver_msg_queue_init(); + init_video(); } void video_driver_destroy_data(void)