From b07fd17258df452cf32ffb8bb4caacee9aec9535 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 22 Dec 2016 23:34:21 +0100 Subject: [PATCH] Revert "Initialize message queue first" This reverts commit b0c97e901f1a9f976f608b84c32eed42b7f6dc24. --- gfx/video_driver.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 67fc41a27b..f1e7dcb83a 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1630,9 +1630,11 @@ void video_driver_init(void) { bool initialized = false; video_driver_lock_new(); - video_driver_msg_queue_init(); - init_video(); + initialized = init_video(); + + if (initialized) + video_driver_msg_queue_init(); } void video_driver_destroy_data(void)